1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +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);