Remember to end inflating

This commit is contained in:
Sryder13 2019-06-22 00:19:34 +01:00
parent 96b12f098b
commit dcd4995eb3

View file

@ -1327,8 +1327,9 @@ size_t W_ReadLumpHeaderPwad(UINT16 wad, UINT16 lump, void *dest, size_t size, si
{ {
size = 0; size = 0;
zerr(zErr); zerr(zErr);
(void)inflateEnd(&strm);
} }
(void)inflateEnd(&strm);
} }
else else
{ {