gnome-session r5119 - in trunk: . gnome-session
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-session r5119 - in trunk: . gnome-session
- Date: Tue, 23 Sep 2008 20:43:15 +0000 (UTC)
Author: mccann
Date: Tue Sep 23 20:43:15 2008
New Revision: 5119
URL: http://svn.gnome.org/viewvc/gnome-session?rev=5119&view=rev
Log:
2008-09-23 William Jon McCann <jmccann redhat com>
* gnome-session/gsm-inhibit-dialog.c (gsm_inhibit_dialog_dispose):
Fix a glade xml leak.
Fixes #552780
Patch from: Matthias Clasen <mclasen redhat com>
Modified:
trunk/ChangeLog
trunk/gnome-session/gsm-inhibit-dialog.c
Modified: trunk/gnome-session/gsm-inhibit-dialog.c
==============================================================================
--- trunk/gnome-session/gsm-inhibit-dialog.c (original)
+++ trunk/gnome-session/gsm-inhibit-dialog.c Tue Sep 23 20:43:15 2008
@@ -1001,6 +1001,11 @@
dialog->priv->inhibitors = NULL;
}
+ if (dialog->priv->xml != NULL) {
+ g_object_unref (dialog->priv->xml);
+ dialog->priv->xml = NULL;
+ }
+
G_OBJECT_CLASS (gsm_inhibit_dialog_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]