mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Added a missing NULLing
svn-id: r39134
This commit is contained in:
parent
047f116515
commit
2017d1c9ea
@ -306,6 +306,7 @@ int decompress1(Resource *result, Common::ReadStream &stream, int sci_version) {
|
||||
if (stream.read(buffer, compressedLength) != compressedLength) {
|
||||
free(result->data);
|
||||
free(buffer);
|
||||
result->data = 0;
|
||||
return SCI_ERROR_IO_ERROR;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user