summaryrefslogtreecommitdiffstats
path: root/coccinelle/mfree.cocci
blob: 1389cd35dbfde67b6419a7d9f6ec5b3568669711 (plain)
1
2
3
4
5
6
@@
expression p;
@@
- free(p);
- p = NULL;
+ p = mfree(p);