summaryrefslogtreecommitdiff
path: root/src/core/selinux-access.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-03 11:36:57 -0400
committerLennart Poettering <lennart@poettering.net>2012-10-03 11:55:38 -0400
commita9e51d5752babffcaa70a0225bf6b673ab8ffe58 (patch)
treee3228c6b9eebb5b167aea76a1b2715d39680d54a /src/core/selinux-access.c
parent0b6018f3d9d437fdbad8f39dca2409d63a5df854 (diff)
selinux: properly free dbus error
Diffstat (limited to 'src/core/selinux-access.c')
-rw-r--r--src/core/selinux-access.c1
1 files changed, 1 insertions, 0 deletions
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)) {