Close zip files properly when IPS is not found in zip.

This commit is contained in:
n-a-c-h
2005-01-19 00:11:32 +00:00
parent d4bb34da5e
commit 606f07e42a

View File

@@ -282,6 +282,7 @@ void findZipIPS(char *compressedfile)
if (!FoundIPS) if (!FoundIPS)
{ {
unzClose(IPSPatch.zipfile); unzClose(IPSPatch.zipfile);
IPSPatch.zipfile = 0;
return; return;
} }