1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00
systemd-stable/coccinelle/mfree_return.cocci
Zbigniew Jędrzejewski-Szmek 6b430fdb7c tree-wide: use mfree more
2016-10-16 23:35:39 -04:00

7 lines
65 B
Plaintext

@@
expression p;
@@
- free(p);
- return NULL;
+ return mfree(p);