parent
d6ec16615f
commit
4d3f1c29b0
@ -0,0 +1,19 @@
|
|||||||
|
diff -up GConf-2.19.1/backends/markup-tree.c.dir-leak GConf-2.19.1/backends/markup-tree.c
|
||||||
|
--- GConf-2.19.1/backends/markup-tree.c.dir-leak 2007-09-11 14:51:12.000000000 -0400
|
||||||
|
+++ GConf-2.19.1/backends/markup-tree.c 2007-09-11 14:52:30.000000000 -0400
|
||||||
|
@@ -263,6 +263,7 @@ markup_dir_free (MarkupDir *dir)
|
||||||
|
|
||||||
|
tmp = tmp->next;
|
||||||
|
}
|
||||||
|
+ g_slist_free (dir->entries);
|
||||||
|
|
||||||
|
tmp = dir->subdirs;
|
||||||
|
while (tmp)
|
||||||
|
@@ -273,6 +274,7 @@ markup_dir_free (MarkupDir *dir)
|
||||||
|
|
||||||
|
tmp = tmp->next;
|
||||||
|
}
|
||||||
|
+ g_slist_free (dir->subdirs);
|
||||||
|
|
||||||
|
g_free (dir->name);
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
diff -up GConf-2.19.1/backends/xml-cache.c.leaks GConf-2.19.1/backends/xml-cache.c
|
||||||
|
--- GConf-2.19.1/backends/xml-cache.c.leaks 2007-09-11 10:54:43.000000000 -0400
|
||||||
|
+++ GConf-2.19.1/backends/xml-cache.c 2007-09-11 10:54:58.000000000 -0400
|
||||||
|
@@ -272,6 +272,7 @@ cache_sync (Cache *cache,
|
||||||
|
|
||||||
|
/* sync it all */
|
||||||
|
g_slist_foreach (list, (GFunc) cache_sync_foreach, &sd);
|
||||||
|
+ g_slist_free (list);
|
||||||
|
|
||||||
|
/* If we deleted some subdirs, we may now be able to delete
|
||||||
|
* more parent dirs. So go ahead and do the sync again.
|
Loading…
Reference in new issue