[telepathy-account-widgets] Free GList returned by tp_list_connection_managers_finish()
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [telepathy-account-widgets] Free GList returned by tp_list_connection_managers_finish()
- Date: Tue, 28 Jul 2015 20:43:25 +0000 (UTC)
commit 103ed6232b7d1c9094d3160ec3eeaf0af0d588c4
Author: Christophe Fergeau <cfergeau redhat com>
Date: Mon Jul 27 23:34:09 2015 +0200
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 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 d7cd8b6..73a3b45 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]