1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 07:51:21 +03:00
systemd/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);