[evince] [shell] Free dbus introspection data on application shutdown



commit 661c24bf2d3898825b081434c74807e6a7c4822b
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Mon Jun 28 15:09:53 2010 +0200

    [shell] Free dbus introspection data on application shutdown

 shell/ev-application.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 30f2313..5a9bb8a 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -49,9 +49,6 @@
 #include "ev-media-player-keys.h"
 #endif /* ENABLE_DBUS */
 
-#ifdef ENABLE_DBUS
-#endif
-
 struct _EvApplication {
 	GObject base_instance;
 
@@ -936,6 +933,10 @@ ev_application_shutdown (EvApplication *application)
                 g_object_unref (application->connection);
                 application->connection = NULL;
         }
+	if (introspection_data) {
+		g_dbus_node_info_ref (introspection_data);
+		introspection_data = NULL;
+	}
 #endif /* ENABLE_DBUS */
 	
         g_free (application->dot_dir);



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