summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {