Revision: 14817
Author: roelf.diedericks
Date: Wed Nov  3 09:49:26 2010
Log: Fix issue #129

http://code.google.com/p/lusca-cache/source/detail?r=14817

Modified:
 /branches/LUSCA_HEAD/libmem/intlist.c

=======================================
--- /branches/LUSCA_HEAD/libmem/intlist.c       Fri Mar 26 06:11:29 2010
+++ /branches/LUSCA_HEAD/libmem/intlist.c       Wed Nov  3 09:49:26 2010
@@ -89,7 +89,7 @@
 {
     intlist *t, *n;

-    for (t = list; t; t = t->next)
+    for (t = list; t && t->next; t = t->next)
         ;

     intlistCheckAlloc();

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to