mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
MOHAWK: Don't leak bitlStream (spotted by clone2727).
This commit is contained in:
parent
2e81e05a12
commit
3384f4bf82
@ -768,6 +768,8 @@ void LBPage::loadBITL(uint16 resourceId) {
|
||||
if (bitlStream->size() == bitlStream->pos())
|
||||
break;
|
||||
}
|
||||
|
||||
delete bitlStream;
|
||||
}
|
||||
|
||||
Common::SeekableSubReadStreamEndian *MohawkEngine_LivingBooks::wrapStreamEndian(uint32 tag, uint16 id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user