[gnome-control-center/wip/enterprise-login: 10/15] user-accounts: Fix memory leak of GtkBuilder in accounts dialog



commit 219115fa9d8f06befb129c3f6a2b559a1784ccf7
Author: Stef Walter <stefw gnome org>
Date:   Wed Jun 6 23:28:05 2012 +0200

    user-accounts: Fix memory leak of GtkBuilder in accounts dialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677548

 panels/user-accounts/um-account-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/um-account-dialog.c b/panels/user-accounts/um-account-dialog.c
index 6879696..e77deb4 100644
--- a/panels/user-accounts/um-account-dialog.c
+++ b/panels/user-accounts/um-account-dialog.c
@@ -286,6 +286,8 @@ um_account_dialog_init (UmAccountDialog *self)
 
         widget = (GtkWidget *) gtk_builder_get_object (builder, "account-type-combo");
         self->account_type_combo = widget;
+
+        g_object_unref (builder);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]