Преглед изворни кода

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 */