summaryrefslogtreecommitdiff
path: root/tp-account-widgets
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-07-27 23:34:09 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-07-27 23:47:32 +0200
commit103ed6232b7d1c9094d3160ec3eeaf0af0d588c4 (patch)
treee1addb5b0340412b63a62560a2e398ec062590c0 /tp-account-widgets
parent40982eec883c2c2c729915dd408b90c902a06710 (diff)
downloadtelepathy-account-widgets-103ed6232b7d1c9094d3160ec3eeaf0af0d588c4.tar.gz
Free GList returned by tp_list_connection_managers_finish()
Make sure it's not leaked in tpaw_connection_managers_listed_cb() https://bugzilla.gnome.org/show_bug.cgi?id=752938
Diffstat (limited to 'tp-account-widgets')
-rw-r--r--tp-account-widgets/tpaw-connection-managers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tp-account-widgets/tpaw-connection-managers.c b/tp-account-widgets/tpaw-connection-managers.c
index d7cd8b69..73a3b452 100644
--- a/tp-account-widgets/tpaw-connection-managers.c
+++ b/tp-account-widgets/tpaw-connection-managers.c
@@ -223,6 +223,7 @@ tpaw_connection_managers_listed_cb (GObject *source,
self->priv->cms = g_list_prepend (self->priv->cms,
g_object_ref (cm));
}
+ g_list_free (cms);
out:
if (!self->priv->ready)