physfs.c
changeset 25 96b32c0fd7f3
parent 23 bd6ba9c8717c
child 27 e1d3292769b2
--- a/physfs.c	Mon Jul 09 00:49:41 2001 +0000
+++ b/physfs.c	Mon Jul 09 00:51:46 2001 +0000
@@ -152,7 +152,7 @@
 
     for (i = errorMessages; i != NULL; i = next)
     {
-        next = i;
+        next = i->next;
         free(i);
     } /* for */
 } /* freeErrorMessages */
@@ -414,7 +414,7 @@
     {
         for (i = searchPath; i != NULL; i = next)
         {
-            next = i;
+            next = i->next;
             freeDirInfo(i, openReadList);
         } /* for */
         searchPath = NULL;