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