]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/mfree_return.cocci
man: fix incorrectly placed full stop
[thirdparty/systemd.git] / coccinelle / mfree_return.cocci
CommitLineData
6b430fdb 1@@
60d9959d
FS
2/* Avoid running this transformation on the mfree function itself */
3position p : script:python() { p[0].current_element != "mfree" };
4expression e;
6b430fdb 5@@
60d9959d 6- free@p(e);
6b430fdb 7- return NULL;
60d9959d 8+ return mfree(e);