dconf/0001-dconf_rebuilder_get_parent-don-t-leak-parent_name.patch
2012-10-21 14:02:43 -04:00

28 lines
816 B
Diff

From f732fba794d380a6c70ce7f82c3326a484909fba Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Sun, 21 Oct 2012 12:50:19 -0400
Subject: [PATCH] dconf_rebuilder_get_parent: don't leak parent_name
Leak introduced in facae6ffcd5b2935f9b708eecb1fd5aa7c8ddf86.
Tracked down by Fabien Tassin in
https://bugzilla.gnome.org/show_bug.cgi?id=686573
---
service/dconf-rebuilder.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/service/dconf-rebuilder.c b/service/dconf-rebuilder.c
index 3f170d6..2b79e18 100644
--- a/service/dconf-rebuilder.c
+++ b/service/dconf-rebuilder.c
@@ -57,6 +57,7 @@ dconf_rebuilder_get_parent (GHashTable *table,
if (grandparent != NULL)
gvdb_item_set_parent (parent, grandparent);
}
+ g_free (parent_name);
return parent;
}
--
1.7.12.1