[empathy] Log window: don't leak the account



commit acb645b19b6b0357e9a4b5af0d9e0faf3ebda49e
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Thu Feb 24 10:31:25 2011 +0000

    Log window: don't leak the account

 libempathy-gtk/empathy-log-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 0ee1e8e..4c979cc 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -800,7 +800,7 @@ log_manager_got_entities_cb (GObject *manager,
 	gboolean               select_account = FALSE;
 
 	account_chooser = EMPATHY_ACCOUNT_CHOOSER (window->account_chooser_chats);
-	account = empathy_account_chooser_dup_account (account_chooser);
+	account = empathy_account_chooser_get_account (account_chooser);
 
 	view = GTK_TREE_VIEW (window->treeview_chats);
 



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