[Telepathy-commits] [telepathy-glib/master] Fix a leak in tp_contacts_mixin_get_contact_attributes()

Alban Crequy alban.crequy at collabora.co.uk
Wed Oct 8 03:53:46 PDT 2008


---
 telepathy-glib/contacts-mixin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/contacts-mixin.c b/telepathy-glib/contacts-mixin.c
index be5afdd..63c7d22 100644
--- a/telepathy-glib/contacts-mixin.c
+++ b/telepathy-glib/contacts-mixin.c
@@ -340,6 +340,7 @@ tp_contacts_mixin_get_contact_attributes (
   g_hash_table_destroy (result);
 
   tp_handles_unref (contact_repo, valid_handles);
+  g_array_free (valid_handles, TRUE);
 }
 
 /**
-- 
1.5.6.5



More information about the Telepathy-commits mailing list