aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-05 22:01:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-06 13:37:09 +0800
commit301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a (patch)
treeda7c66f68a1540fb7cfbe97e3278051ed1fd4b89
parente49885103b7bd1754511282b05a1b44c13d7289f (diff)
downloadgsoc2013-empathy-301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a.tar
gsoc2013-empathy-301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a.tar.gz
gsoc2013-empathy-301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a.tar.bz2
gsoc2013-empathy-301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a.tar.lz
gsoc2013-empathy-301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a.tar.xz
gsoc2013-empathy-301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a.tar.zst
gsoc2013-empathy-301f075fbc9ebd1f6330a5ce6ba19fbace3ea80a.zip
don't leak the keys returned by g_key_file_get_keys()
-rw-r--r--goa-mc-plugin/mcp-account-manager-goa.c2
1 files changed, 2 insertions, 0 deletions
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);
}