1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +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);