mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
16 lines
181 B
Plaintext
16 lines
181 B
Plaintext
|
@@
|
||
|
expression p, q;
|
||
|
@@
|
||
|
- free(p);
|
||
|
- p = q;
|
||
|
- q = NULL;
|
||
|
- return 0;
|
||
|
+ return free_and_replace(p, q);
|
||
|
@@
|
||
|
expression p, q;
|
||
|
@@
|
||
|
- free(p);
|
||
|
- p = q;
|
||
|
- q = NULL;
|
||
|
+ free_and_replace(p, q);
|