From a1b30e8103d0b7aaa9edffe76272f3715ee3e33e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 8 Jun 2002 20:59:29 +0000 Subject: [PATCH] Fixed incorrect free() in Darwin CD detection code. --- platform/unix.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/unix.c b/platform/unix.c index 7baa4369..269f6526 100644 --- a/platform/unix.c +++ b/platform/unix.c @@ -102,8 +102,6 @@ char **__PHYSFS_platformDetectAvailableCDs(void) } /* if */ } - free( mntbufp ); - retval[cd_count - 1] = NULL; return(retval); } /* __PHYSFS_platformDetectAvailableCDs */