repo.or.cz
/
git
/
debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
commit-slabs: move MAYBE_UNUSED out
[git/debian.git]
/
contrib
/
coccinelle
/
free.cocci
blob
4490069df9650df6be58a8ad3f566329f7afd6ae
1
@@
2
expression E;
3
@@
4
- if (E)
5
free(E);
6
7
@@
8
expression E;
9
@@
10
- if (!E)
11
free(E);
12
13
@@
14
expression E;
15
@@
16
- free(E);
17
+ FREE_AND_NULL(E);
18
- E = NULL;