[gnome-control-center] user-accounts: Fix memory leak of GtkBuilder in accounts dialog
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Fix memory leak of GtkBuilder in accounts dialog
- Date: Tue, 12 Jun 2012 07:57:34 +0000 (UTC)
commit 5b022773b35537c6ce5b2e8d7ab3ba00f33387e8
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 89abb24..40a64e9 100644
--- a/panels/user-accounts/um-account-dialog.c
+++ b/panels/user-accounts/um-account-dialog.c
@@ -225,6 +225,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]