Fixed incorrect free() in Darwin CD detection code.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 08 Jun 2002 20:59:29 +0000
changeset 273 9451eff9f495
parent 272 470430943851
child 274 d0ab712e2ee0
Fixed incorrect free() in Darwin CD detection code.
platform/unix.c
--- a/platform/unix.c	Sat Jun 08 08:50:00 2002 +0000
+++ b/platform/unix.c	Sat Jun 08 20:59:29 2002 +0000
@@ -102,8 +102,6 @@
         } /* if */
     }
 
-    free( mntbufp );
-
     retval[cd_count - 1] = NULL;
     return(retval);
 } /* __PHYSFS_platformDetectAvailableCDs */