diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-04-26 17:53:09 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-04-26 17:53:09 +0100 |
commit | ea6eaf850fc3c77b7e944f3556300bec9eadf9c3 (patch) | |
tree | f88199674ff1ae2f3d26500f9a92ad0d48663697 | |
parent | 0a212aa1bf6c3120c036e11d5f32c300d0aad78e (diff) |
status: fix some leaks
tp_value_array_build copies/takes references so we should free/unref
these.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | salut/status.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/salut/status.c b/salut/status.c index f38c36a..ace7635 100644 --- a/salut/status.c +++ b/salut/status.c @@ -402,6 +402,10 @@ contact_capabilities_changed (YtstStatus *self, G_TYPE_INVALID); g_hash_table_insert (new, g_strdup (service), details); + + g_free (yts_service_name); + g_hash_table_unref (yts_name_map); + g_strfreev (yts_caps); } if (do_signal) |