浏览代码

Fixed incorrect free() in Darwin CD detection code.

Ryan C. Gordon 24 年之前
父节点
当前提交
a1b30e8103
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      platform/unix.c

+ 0 - 2
platform/unix.c

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