]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/mfree_return.cocci
logind: when we cannot attach a passed fd to a device, close it
[thirdparty/systemd.git] / coccinelle / mfree_return.cocci
CommitLineData
6b430fdb
ZJS
1@@
2expression p;
3@@
4- free(p);
5- return NULL;
6+ return mfree(p);