[empathy] account_chooser_update_iter: don't leak the TpAccount



commit 17e2fea441df25d3b91597957744f172a0d80668
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Mar 21 12:31:07 2011 +0100

    account_chooser_update_iter: don't leak the TpAccount

 libempathy-gtk/empathy-account-chooser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c
index 71baba4..647f068 100644
--- a/libempathy-gtk/empathy-account-chooser.c
+++ b/libempathy-gtk/empathy-account-chooser.c
@@ -820,6 +820,8 @@ account_chooser_update_iter (EmpathyAccountChooser *chooser,
 			      (gpointer) data, priv->filter_data);
 	else
 		account_chooser_filter_ready_cb (TRUE, (gpointer) data);
+
+	g_object_unref (account);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]