mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03: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);
|