From 301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 5 Sep 2011 16:01:44 +0200 Subject: don't leak the keys returned by g_key_file_get_keys() --- goa-mc-plugin/mcp-account-manager-goa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/goa-mc-plugin/mcp-account-manager-goa.c b/goa-mc-plugin/mcp-account-manager-goa.c index 7804f9ea1..a1fe9f8e1 100644 --- a/goa-mc-plugin/mcp-account-manager-goa.c +++ b/goa-mc-plugin/mcp-account-manager-goa.c @@ -396,6 +396,8 @@ mcp_account_manager_goa_get (const McpAccountStorage *self, } } + g_strfreev (keys); + /* Enabled */ get_enabled (self, am, acct, object); } -- cgit v1.2.3