gnome-settings-daemon r72 - in trunk: . src
- From: wbolster svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-settings-daemon r72 - in trunk: . src
- Date: Mon, 28 Jan 2008 13:04:44 +0000 (GMT)
Author: wbolster
Date: Mon Jan 28 13:04:44 2008
New Revision: 72
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=72&view=rev
Log:
2008-01-28 Wouter Bolsterlee <wbolster svn gnome org>
* src/main.c: (main):
Don't leak the GnomeProgram instance.
Modified:
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c (original)
+++ trunk/src/main.c Mon Jan 28 13:04:44 2008
@@ -176,6 +176,7 @@
GError *error;
manager = NULL;
+ program = NULL;
bindtextdomain (GETTEXT_PACKAGE, GNOME_SETTINGS_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
@@ -233,6 +234,10 @@
g_object_unref (manager);
}
+ if (program != NULL) {
+ g_object_unref (program);
+ }
+
g_debug ("SettingsDaemon finished");
return 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]