From a9e51d5752babffcaa70a0225bf6b673ab8ffe58 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 3 Oct 2012 11:36:57 -0400 Subject: selinux: properly free dbus error --- src/core/selinux-access.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 4b1dc74e93..d9c3f9bcda 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -298,6 +298,7 @@ static int get_calling_context( return r; log_debug("bus_get_selinux_security_context failed %m"); + dbus_error_free(error); } if (!dbus_connection_get_unix_fd(connection, &fd)) { -- cgit v1.2.3-54-g00ecf