1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00
systemd/coccinelle/mfree_return.cocci

7 lines
65 B
Plaintext
Raw Normal View History

2016-10-17 01:28:30 +03:00
@@
expression p;
@@
- free(p);
- return NULL;
+ return mfree(p);