]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/mfree_return.cocci
Merge pull request #12030 from poettering/condition-memory
[thirdparty/systemd.git] / coccinelle / mfree_return.cocci
CommitLineData
6b430fdb
ZJS
1@@
2expression p;
3@@
4- free(p);
5- return NULL;
6+ return mfree(p);