Browse Source

Fixed incorrect free() in Darwin CD detection code.

Ryan C. Gordon 24 năm trước cách đây
mục cha
commit
a1b30e8103
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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 */