summaryrefslogtreecommitdiffstats
path: root/dev/coccinelle/ha_free.cocci
blob: 00190393b087a94f4a482cbba9b96a879e553244 (plain)
1
2
3
4
5
6
@ rule @
expression E;
@@
- free(E);
- E = NULL;
+ ha_free(&E);