fix memory leak

This commit is contained in:
Antoine Cœur
2017-10-23 17:27:08 +08:00
parent 6b302a33b1
commit 924b9240d3
+1
View File
@@ -364,6 +364,7 @@ BOOL _fileIsSymbolicLink(const unz_file_info *fileInfo);
// ignoring resource forks: https://superuser.com/questions/104500/what-is-macosx-folder
unzCloseCurrentFile(zip);
ret = unzGoToNextFile(zip);
free(filename);
continue;
}
if (!strPath.length) {