summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-10 15:11:56 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-10 15:14:17 +0200
commit7667bb74e99e236c15f34b7f9266073441d3afde (patch)
tree08419130286c8a50759d36197436964102f9e3df
parent0015b83d5746ec5fab3e4205c56ec599a5726bfa (diff)
Fix a leak in: tp_handles_unref() does not unref the array
-rw-r--r--src/conn-addressing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conn-addressing.c b/src/conn-addressing.c
index 79e742548..c02910e10 100644
--- a/src/conn-addressing.c
+++ b/src/conn-addressing.c
@@ -105,6 +105,7 @@ conn_addressing_get_contacts_by_uri (GabbleSvcConnectionInterfaceAddressing *ifa
context, requested, attributes);
tp_handles_unref (contact_repo, handles);
+ g_array_unref (handles);
g_hash_table_unref (requested);
g_hash_table_unref (attributes);
g_free (sender);
@@ -145,6 +146,7 @@ conn_addressing_get_contacts_by_vcard_field (GabbleSvcConnectionInterfaceAddress
context, requested, attributes);
tp_handles_unref (contact_repo, handles);
+ g_array_unref (handles);
g_hash_table_unref (requested);
g_hash_table_unref (attributes);
g_free (sender);