From 103ed6232b7d1c9094d3160ec3eeaf0af0d588c4 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 27 Jul 2015 23:34:09 +0200 Subject: 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 --- tp-account-widgets/tpaw-connection-managers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tp-account-widgets') 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) -- cgit v1.2.1