GRIM: Fix some memory leaks related to not always freeing streams
This commit is contained in:
parent
439f0eebe7
commit
af7f68db76
12 changed files with 12 additions and 10 deletions
|
@ -124,7 +124,6 @@ BitmapData::BitmapData(const Common::String &fname, Common::SeekableReadStream *
|
|||
Debug::error(Debug::Bitmaps, "Invalid magic loading bitmap");
|
||||
break;
|
||||
}
|
||||
delete data;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue