1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 18:55:09 +03:00
systemd-stable/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);