aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-29 22:48:08 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-29 22:50:41 +0800
commit4c97b5730fd6c27376c6e2079262038e87fdc6c9 (patch)
tree17e615e926ee5f224d74835a79cc162221107251 /libempathy-gtk
parent1bcccdbc977cc35af2edccc9b222d53a63a8c0b6 (diff)
downloadgsoc2013-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
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c8
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 *