X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fselinux-util.c;h=7c58985cd26ae29975e4e7fc5458a5e5dd6b12d6;hb=f5ce2b49585a14cefb6d02f61c8dcdf7628a8605;hp=a8d5fc4f3e8f372c3611dbd9caed137c3663b2a8;hpb=15411c0cb1192799b37ec8f25d6f30e8d7292fc6;p=elogind.git diff --git a/src/shared/selinux-util.c b/src/shared/selinux-util.c index a8d5fc4f3..7c58985cd 100644 --- a/src/shared/selinux-util.c +++ b/src/shared/selinux-util.c @@ -116,6 +116,7 @@ void mac_selinux_finish(void) { return; selabel_close(label_hnd); + label_hnd = NULL; #endif }