[empathy/gnome-2-34] Log window: don't leak the account



commit d8c60da9cf53e2c08eb59f899062b08224c9fb7f
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 1bcfb63..dc44c9b 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -789,7 +789,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]