aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-log-window.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-24 18:31:25 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-24 23:39:58 +0800
commitd8c60da9cf53e2c08eb59f899062b08224c9fb7f (patch)
tree54bccd0e021ca1387370e1022c980a05fb6e282c /libempathy-gtk/empathy-log-window.c
parentc8a06b2f3d3e090c9a86212ab0e1cd5b4a89eb65 (diff)
downloadgsoc2013-empathy-d8c60da9cf53e2c08eb59f899062b08224c9fb7f.tar
gsoc2013-empathy-d8c60da9cf53e2c08eb59f899062b08224c9fb7f.tar.gz
gsoc2013-empathy-d8c60da9cf53e2c08eb59f899062b08224c9fb7f.tar.bz2
gsoc2013-empathy-d8c60da9cf53e2c08eb59f899062b08224c9fb7f.tar.lz
gsoc2013-empathy-d8c60da9cf53e2c08eb59f899062b08224c9fb7f.tar.xz
gsoc2013-empathy-d8c60da9cf53e2c08eb59f899062b08224c9fb7f.tar.zst
gsoc2013-empathy-d8c60da9cf53e2c08eb59f899062b08224c9fb7f.zip
Log window: don't leak the account
Diffstat (limited to 'libempathy-gtk/empathy-log-window.c')
-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 1bcfb63a7..dc44c9b25 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);