Sign in
googlers
/
jrn
/
git
/
b3e0981f2865660bfff1172a8f9940b2157ce233
/
.
/
contrib
/
coccinelle
/
free.cocci
blob: 4490069df9650df6be58a8ad3f566329f7afd6ae [
file
] [
log
] [
blame
]
@@
expression E
;
@@
-
if
(
E
)
free
(
E
);
@@
expression E
;
@@
-
if
(!
E
)
free
(
E
);
@@
expression E
;
@@
-
free
(
E
);
+
FREE_AND_NULL
(
E
);
-
E
=
NULL
;