[tracker/gconf-dbus] squash



commit a67de215d42c8e548118e08c2554393b3ee484cf
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Apr 1 14:31:17 2011 +0200

    squash

 src/libtracker-common/tracker-locale-gconfdbus.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/tracker-locale-gconfdbus.c b/src/libtracker-common/tracker-locale-gconfdbus.c
index 1f15fdb..3f2d7af 100644
--- a/src/libtracker-common/tracker-locale-gconfdbus.c
+++ b/src/libtracker-common/tracker-locale-gconfdbus.c
@@ -404,20 +404,25 @@ tracker_locale_gconfdbus_shutdown (void)
 
 	if (watch_name_id != 0) {
 		g_bus_unwatch_name (watch_name_id);
+		watch_name_id = 0;
 	}
 
 	if (registration_id != 0) {
 		g_dbus_connection_unregister_object (connection, registration_id);
+		registration_id = 0;
 	}
 
 	g_free (gconf_dbus_default_db);
+	gconf_dbus_default_db = NULL;
 
 	if (introspection_data) {
 		g_dbus_node_info_unref (introspection_data);
+		introspection_data = NULL;
 	}
 
 	if (connection) {
 		g_object_unref (connection);
+		connection = NULL;
 	}
 }
 



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