소스 검색

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 */
         } /* if */
     }
     }
 
 
-    free( mntbufp );
-
     retval[cd_count - 1] = NULL;
     retval[cd_count - 1] = NULL;
     return(retval);
     return(retval);
 } /* __PHYSFS_platformDetectAvailableCDs */
 } /* __PHYSFS_platformDetectAvailableCDs */