completion: add --skip for cherry-pick and revert
[git/git.git] / contrib / coccinelle / free.cocci
CommitLineData
39ea59a2
RS
1@@
2expression E;
3@@
4- if (E)
5 free(E);
ec6cd14c
RS
6
7@@
8expression E;
9@@
10- if (!E)
11 free(E);
cf9f49ea 12
1b83d125
ÆAB
13@@
14expression E;
15@@
16- free(E);
1b83d125 17+ FREE_AND_NULL(E);
76d8d45f 18- E = NULL;