mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +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);
|