diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-29 22:48:08 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-29 22:50:41 +0800 |
commit | 4c97b5730fd6c27376c6e2079262038e87fdc6c9 (patch) | |
tree | 17e615e926ee5f224d74835a79cc162221107251 | |
parent | 1bcccdbc977cc35af2edccc9b222d53a63a8c0b6 (diff) | |
download | gsoc2013-empathy-4c97b5730fd6c27376c6e2079262038e87fdc6c9.tar gsoc2013-empathy-4c97b5730fd6c27376c6e2079262038e87fdc6c9.tar.gz gsoc2013-empathy-4c97b5730fd6c27376c6e2079262038e87fdc6c9.tar.bz2 gsoc2013-empathy-4c97b5730fd6c27376c6e2079262038e87fdc6c9.tar.lz gsoc2013-empathy-4c97b5730fd6c27376c6e2079262038e87fdc6c9.tar.xz gsoc2013-empathy-4c97b5730fd6c27376c6e2079262038e87fdc6c9.tar.zst gsoc2013-empathy-4c97b5730fd6c27376c6e2079262038e87fdc6c9.zip |
Fix some leaks
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 21e3d3ee3..391125a5f 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -510,6 +510,8 @@ account_widget_setup_generic (EmpathyAccountSettings *settings, accounts_widget_generic_setup (settings, table_common_settings, table_advanced_settings); + + g_object_unref (builder); } static void @@ -543,7 +545,11 @@ empathy_account_widget_generic_new (EmpathyAccountSettings *settings) empathy_account_widget_add_apply_button (settings, widget); - return g_object_ref (widget); + g_free (filename); + + g_object_ref (widget); + g_object_force_floating (G_OBJECT (widget)); + return widget; } GtkWidget * |