mirror of
https://github.com/systemd/systemd.git
synced 2024-11-14 15:21:37 +03: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);
|