diff options
author | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2011-03-10 17:54:04 +0000 |
---|---|---|
committer | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2011-04-05 14:19:09 +0100 |
commit | 88d047f975a13eca5bc29e69b9cdd10a0845e217 (patch) | |
tree | cf30f78226cccf3dc4ec8a56d1ad6f6bc58d1218 | |
parent | 9e6b4103c02806d40f78cd67344237713af49f4e (diff) | |
download | telepathy-mission-control-88d047f975a13eca5bc29e69b9cdd10a0845e217.tar.gz |
Free creds handle when we are done with it
-rw-r--r-- | plugins/mcp-dbus-aegis-acl.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |