fixed a double freeing crash

This commit is contained in:
Anatoliy Belsky 2012-06-04 22:51:31 +02:00
parent 9a2365412e
commit a39bcfc5ee

View File

@ -337,8 +337,6 @@ zip_close(struct zip *za)
umask(mask);
chmod(za->zn, 0666&~mask);
#endif
if (za->ch_comment)
free(za->ch_comment);
_zip_free(za);
free(temp);