Explorar o código

Fixed incorrect free() in Darwin CD detection code.

Ryan C. Gordon %!s(int64=24) %!d(string=hai) anos
pai
achega
a1b30e8103
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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 */