]> git.0d.be Git - empathy.git/commitdiff
Log window: don't leak the account
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 24 Feb 2011 10:31:25 +0000 (10:31 +0000)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Thu, 24 Feb 2011 17:09:24 +0000 (17:09 +0000)
libempathy-gtk/empathy-log-window.c

index 0ee1e8e598cf4183aa12666fc3d09a43fe8f18ed..4c979ccd7da9d97713ad88dad09a5a4b80b1cb89 100644 (file)
@@ -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);