MOHAWK: Don't leak bitlStream (spotted by clone2727).

This commit is contained in:
Alyssa Milburn 2011-06-28 22:00:20 +02:00
parent 2e81e05a12
commit 3384f4bf82

View File

@ -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) {