1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

- fixed crash on decompressing some files from gzip stream (reported on

forums)
This commit is contained in:
Ivan Savenko
2014-02-08 10:30:10 +00:00
parent d17b3a14bd
commit 562dc02b3b
2 changed files with 3 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ si64 CCompressedStream::readMore(ui8 *data, si64 size)
if (fileEnded)
{
inflateEnd(inflateState);
//vstd::clear_pointer(inflateState);
inflateState = nullptr;
}
return decompressed;
}