Skip to content

Commit

Permalink
Fixed incorrect free() in Darwin CD detection code.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 8, 2002
1 parent 943904c commit a1b30e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platform/unix.c
Expand Up @@ -102,8 +102,6 @@ char **__PHYSFS_platformDetectAvailableCDs(void)
} /* if */
}

free( mntbufp );

retval[cd_count - 1] = NULL;
return(retval);
} /* __PHYSFS_platformDetectAvailableCDs */
Expand Down

0 comments on commit a1b30e8

Please sign in to comment.