You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GConf2/dir-leak.patch

20 lines
554 B

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);