[empathy/mc5: 181/483] Fix some leaks
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5: 181/483] Fix some leaks
- Date: Fri, 21 Aug 2009 17:14:38 +0000 (UTC)
commit 4c97b5730fd6c27376c6e2079262038e87fdc6c9
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Wed Jul 29 16:48:08 2009 +0200
Fix some leaks
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 21e3d3e..391125a 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]