summaryrefslogtreecommitdiff
path: root/selinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux.c')
-rw-r--r--selinux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/selinux.c b/selinux.c
index e225efffc..202e233e3 100644
--- a/selinux.c
+++ b/selinux.c
@@ -146,8 +146,6 @@ relabel_tty(const char *ttyn, security_context_t new_context,
if (enforcing)
goto error;
}
- freecon(new_tty_con);
- new_tty_con = NULL;
}
*tty_context = tty_con;