Objective-Zip icon indicating copy to clipboard operation
Objective-Zip copied to clipboard

Files are not being fclosed!

Open MaartenMortier opened this issue 10 years ago • 0 comments

-(BOOL) UnzipFileTo:(NSString*) path overWrite:(BOOL) overwrite calls unzCloseCurrentFile for each file

But, the file itself never fclosed!

Only unzClose(..) actually calls fclose.

I ran out of file descriptors when opening many zip files on ios.

I'm not sure whether this is because the zip files are not being fclosed or the contents that are being unzipped.

MaartenMortier avatar Nov 07 '14 16:11 MaartenMortier