Commit c35468f7 authored by Antoine van der Lee's avatar Antoine van der Lee Committed by GitHub

Merge pull request #128 from buscarini/master

Fixed issue with address sanitizer
parents 86c55a9e d569d658
......@@ -199,7 +199,8 @@ public class Zip {
}
}
fclose(filePointer)
if let fp = filePointer { fclose(fp) }
crc_ret = unzCloseCurrentFile(zip)
if crc_ret == UNZ_CRCERROR {
throw ZipError.unzipFail
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment