Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v245-stable
/
.
/
coccinelle
/
mfree_return.cocci
blob: 15e6c7d566bd08281e841892b3383500871da64f [
file
] [
log
] [
blame
] [
raw
]
@@
/* Avoid running this transformation on the mfree function itself */
position p
:
script
:
python
()
{
p
[
0
].
current_element
!=
"mfree"
};
expression e
;
@@
-
free@p
(
e
);
-
return
NULL
;
+
return
mfree
(
e
);