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