From daabdfb7fb1cd40afbd47298f2ef6ee4cd46e3fc Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 10 Mar 2014 17:30:27 +0000 Subject: [PATCH 06/23] TpBaseContactList: don't leak groups hash table --- telepathy-glib/base-contact-list.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c index 4018fbd..ad6b09d 100644 --- a/telepathy-glib/base-contact-list.c +++ b/telepathy-glib/base-contact-list.c @@ -561,6 +561,8 @@ tp_base_contact_list_free_contents (TpBaseContactList *self) self->priv->svc_contact_groups = FALSE; self->priv->svc_contact_blocking = FALSE; } + + g_clear_pointer (&self->priv->groups, g_hash_table_unref); } static void -- 1.9.0