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:
@@ -164,7 +164,7 @@ si64 CCompressedStream::readMore(ui8 *data, si64 size)
|
||||
if (fileEnded)
|
||||
{
|
||||
inflateEnd(inflateState);
|
||||
//vstd::clear_pointer(inflateState);
|
||||
inflateState = nullptr;
|
||||
}
|
||||
return decompressed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user