diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-10 17:30:27 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-13 14:20:30 +0000 |
commit | 6e1b74dee0853954647124a8ff471bc24efb1bdd (patch) | |
tree | 1ff99ab0a51390ab4dcee969a1449d2e6830bd91 | |
parent | 38f54cf206ec4df13475f45ea0d666c00321eca6 (diff) | |
download | telepathy-glib-6e1b74dee0853954647124a8ff471bc24efb1bdd.tar.gz |
TpBaseContactList: don't leak groups hash table
Regression in b91113d2.
Reviewed-by: Guillaume Desmottes
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76000
-rw-r--r-- | telepathy-glib/base-contact-list.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c index 4018fbd36..ad6b09db8 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 |