summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-24 10:31:25 +0000
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-24 17:09:24 +0000
commitacb645b19b6b0357e9a4b5af0d9e0faf3ebda49e (patch)
tree0d9e828ae4ce718df40c4c9c7a4e2dc7108ac84a
parent72089c86163dd65754d251c9900ee98a1b9b2447 (diff)
downloadempathy-acb645b19b6b0357e9a4b5af0d9e0faf3ebda49e.tar.gz
Log window: don't leak the account
-rw-r--r--libempathy-gtk/empathy-log-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 0ee1e8e59..4c979ccd7 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);