From 88d047f975a13eca5bc29e69b9cdd10a0845e217 Mon Sep 17 00:00:00 2001 From: Vivek Dasmohapatra Date: Thu, 10 Mar 2011 17:54:04 +0000 Subject: Free creds handle when we are done with it --- plugins/mcp-dbus-aegis-acl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mcp-dbus-aegis-acl.c b/plugins/mcp-dbus-aegis-acl.c index 4af03412..e53ca8bc 100644 --- a/plugins/mcp-dbus-aegis-acl.c +++ b/plugins/mcp-dbus-aegis-acl.c @@ -128,6 +128,8 @@ pid_is_permitted (const McpDBusAcl *self, pid_t pid) pid, caller, aegis_type, aegis_token); ok = creds_have_p (caller, aegis_type, aegis_token); DEBUG (" --> %s", ok ? "TRUE" : "FALSE"); + + creds_free (caller); } return ok; -- cgit v1.2.1