Fixed incorrect free() in Darwin CD detection code.

This commit is contained in:
Ryan C. Gordon 2002-06-08 20:59:29 +00:00
parent 943904cdd9
commit a1b30e8103
1 changed files with 0 additions and 2 deletions

View File

@ -102,8 +102,6 @@ char **__PHYSFS_platformDetectAvailableCDs(void)
} /* if */ } /* if */
} }
free( mntbufp );
retval[cd_count - 1] = NULL; retval[cd_count - 1] = NULL;
return(retval); return(retval);
} /* __PHYSFS_platformDetectAvailableCDs */ } /* __PHYSFS_platformDetectAvailableCDs */