gconf-editor r1438 - in trunk: . src



Author: cosimoc
Date: Fri Oct 31 00:55:03 2008
New Revision: 1438
URL: http://svn.gnome.org/viewvc/gconf-editor?rev=1438&view=rev

Log:
2008-10-31  Cosimo Cecchi  <cosimoc gnome org>

	* src/gconf-editor-window.c: (help_cb),
	(gconf_editor_popup_window_set_as_default),
	(gconf_editor_popup_window_set_as_mandatory):
	Fix some double-frees of GErrors.



Modified:
   trunk/ChangeLog
   trunk/src/gconf-editor-window.c

Modified: trunk/src/gconf-editor-window.c
==============================================================================
--- trunk/src/gconf-editor-window.c	(original)
+++ trunk/src/gconf-editor-window.c	Fri Oct 31 00:55:03 2008
@@ -356,7 +356,6 @@
         if (error != NULL) {
                 gconf_editor_window_popup_error_dialog (GTK_WINDOW (GCONF_EDITOR_WINDOW (callback_data)),
                                                         _("Couldn't display help: %s"), error);
-		g_error_free (error);
         }
 }
 
@@ -683,7 +682,6 @@
 
       if (!can_use_pk)
         gconf_editor_window_popup_error_dialog (window, _("Could not sync value. Error was:\n%s"), error);
-      g_error_free (error);
     }
   }
 
@@ -732,7 +730,6 @@
       
       if (!can_use_pk)
         gconf_editor_window_popup_error_dialog (window, _("Could not sync value. Error was:\n%s"), error);
-      g_error_free (error);
     }
   }
 



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