mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 10:43:35 +08:00
6796073e33
Another Coccinelle patch.
28 lines
321 B
Plaintext
28 lines
321 B
Plaintext
@@
|
|
expression p;
|
|
@@
|
|
- strv_free(p);
|
|
- p = NULL;
|
|
+ p = strv_free(p);
|
|
@@
|
|
expression p;
|
|
@@
|
|
- if (p)
|
|
- strv_free(p);
|
|
- p = NULL;
|
|
+ p = strv_free(p);
|
|
@@
|
|
expression p;
|
|
@@
|
|
- if (p) {
|
|
- strv_free(p);
|
|
- p = NULL;
|
|
- }
|
|
+ p = strv_free(p);
|
|
@@
|
|
expression p;
|
|
@@
|
|
- if (p)
|
|
- strv_free(p);
|
|
+ strv_free(p);
|