[next] telepathy-glib: TpBaseContactList: don't leak groups hash table
Simon McVittie
smcv at kemper.freedesktop.org
Thu Mar 13 07:21:51 PDT 2014
Module: telepathy-glib
Branch: next
Commit: 6e1b74dee0853954647124a8ff471bc24efb1bdd
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=6e1b74dee0853954647124a8ff471bc24efb1bdd
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Mon Mar 10 17:30:27 2014 +0000
TpBaseContactList: don't leak groups hash table
Regression in b91113d2.
Reviewed-by: Guillaume Desmottes
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76000
---
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
More information about the telepathy-commits
mailing list