systemd/coccinelle/mfree_return.cocci
Zbigniew Jędrzejewski-Szmek 6b430fdb7c tree-wide: use mfree more
2016-10-16 23:35:39 -04:00

6 lines
65 B
Text

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