]> git.pld-linux.org Git - packages/glib.git/blame - glib-slist_remove.patch
- added two patches
[packages/glib.git] / glib-slist_remove.patch
CommitLineData
ba160b6f
PS
1removal of a list element frees only one memory block instead of all.
2
3--- glib-1.2.10/gslist.c.orig 2000-08-09 20:12:31.000000000 +0200
4+++ glib-1.2.10/gslist.c 2006-05-02 22:08:00.000000000 +0200
5@@ -278,7 +278,7 @@ g_slist_remove (GSList *list,
6 list = list->next;
7
8 tmp->next = NULL;
9- g_slist_free (tmp);
10+ g_slist_free_1 (tmp);
11
12 break;
13 }
This page took 0.04143 seconds and 4 git commands to generate.