Author: pluto                        Date: Tue May  2 20:18:19 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- removal of a list element frees only one memory block instead of all.

---- Files affected:
SOURCES:
   glib-slist_remove.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/glib-slist_remove.patch
diff -u /dev/null SOURCES/glib-slist_remove.patch:1.1
--- /dev/null   Tue May  2 22:18:19 2006
+++ SOURCES/glib-slist_remove.patch     Tue May  2 22:18:14 2006
@@ -0,0 +1,13 @@
+removal of a list element frees only one memory block instead of all.
+
+--- glib-1.2.10/gslist.c.orig  2000-08-09 20:12:31.000000000 +0200
++++ glib-1.2.10/gslist.c       2006-05-02 22:08:00.000000000 +0200
+@@ -278,7 +278,7 @@ g_slist_remove (GSList   *list,
+           list = list->next;
+ 
+         tmp->next = NULL;
+-        g_slist_free (tmp);
++        g_slist_free_1 (tmp);
+ 
+         break;
+       }
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to