gconf r2793 - in trunk: . backends
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gconf r2793 - in trunk: . backends
- Date: Mon, 23 Feb 2009 06:04:47 +0000 (UTC)
Author: matthiasc
Date: Mon Feb 23 06:04:46 2009
New Revision: 2793
URL: http://svn.gnome.org/viewvc/gconf?rev=2793&view=rev
Log:
* backends/markup-backend.c (tree_lookup_entry): Free parent
before checking for error. Pointed out by Tommi Rantala.
Modified:
trunk/ChangeLog
trunk/backends/markup-backend.c
Modified: trunk/backends/markup-backend.c
==============================================================================
--- trunk/backends/markup-backend.c (original)
+++ trunk/backends/markup-backend.c Mon Feb 23 06:04:46 2009
@@ -429,15 +429,15 @@
else
dir = markup_tree_lookup_dir (tree, parent, &error);
+ g_free (parent);
+ parent = NULL;
+
if (error != NULL)
{
g_propagate_error (err, error);
return NULL;
}
- g_free (parent);
- parent = NULL;
-
if (dir != NULL)
{
const char *relative_key;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]