Merge branch 'fix-pk3-leak' into 'master'

Fix memory leak in W_ReadLumpHeaderPwad

See merge request KartKrew/Kart-Public!182
This commit is contained in:
Sal 2020-07-01 18:36:48 -04:00
commit c3c466575c

View file

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