[libgda/LIBGDA_4.0] Applied patch for bug #605735



commit 6d030dd05569699707fd01b14f2fe697725ccde6
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed Dec 30 22:22:15 2009 +0100

    Applied patch for bug #605735
    
    Thanks to Jonh Wendell

 libgda/gda-config.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-config.c b/libgda/gda-config.c
index f22c104..09ea18d 100644
--- a/libgda/gda-config.c
+++ b/libgda/gda-config.c
@@ -1,5 +1,5 @@
 /* GDA library
- * Copyright (C) 2007 - 2008 The GNOME Foundation.
+ * Copyright (C) 2007 - 2009 The GNOME Foundation.
  *
  * AUTHORS:
  *      Vivien Malerba <malerba gnome-db org>
@@ -590,12 +590,14 @@ gda_config_constructor (GType type,
 		if (mon_conf_user)
 			g_signal_connect (G_OBJECT (mon_conf_user), "changed",
 					  G_CALLBACK (conf_file_changed), NULL);
+		g_object_unref (gf);
 
 		gf = g_file_new_for_path (unique_instance->priv->system_file);
 		mon_conf_global = g_file_monitor_file (gf, G_FILE_MONITOR_NONE, NULL, NULL);
 		if (mon_conf_user)
 			g_signal_connect (G_OBJECT (mon_conf_global), "changed",
 					  G_CALLBACK (conf_file_changed), NULL);
+		g_object_unref (gf);
 		
 #endif
 



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