summaryrefslogtreecommitdiffstats
path: root/coccinelle/mfree_return.cocci
blob: 8119fe07f29f738f9749f8f46e63212fca054681 (plain)
1
2
3
4
5
6
@@
expression p;
@@
- free(p);
- return NULL;
+ return mfree(p);