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