1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-25 06:03:40 +03:00
systemd-stable/coccinelle/mfree_return.cocci

7 lines
65 B
Plaintext
Raw Normal View History

2016-10-16 18:28:30 -04:00
@@
expression p;
@@
- free(p);
- return NULL;
+ return mfree(p);