Memory leak in unzip.c of minizip.
Closed this issue · 1 comments
GoogleCodeExporter commented
Although I know minizip is not your project I am sharing this issue at your
page, since zipArchive uses minizip as its engine to unzip the files. I am
attaching a screenshot of the memory leak as shown at the Instruments of Xcode.
Please verify or not. Thank you.
Sincerely,
Alex
Original issue reported on code.google.com by akarargy...@gmail.com
on 21 Aug 2010 at 12:37
Attachments:
- [Screen shot 2010-08-20 at 8.12.58 PM.png](https://storage.googleapis.com/google-code-attachments/ziparchive/issue-9/comment-0/Screen shot 2010-08-20 at 8.12.58 PM.png)
GoogleCodeExporter commented
This memory leak is occurring because you have not closed your file after
unzipping. If you scroll down you will see an "unzClose" function which
releases the memory allocated in "unzOpen2" -- you can accomplish this by
calling "UnzipCloseFile" on the ZipArchive object.
Original comment by elinc...@hachisoft.com
on 15 Feb 2011 at 7:51
- Changed state: Invalid