EMI: Handle the a few more leaks.
This commit is contained in:
parent
5b963d6660
commit
36f98b0bbc
3 changed files with 3 additions and 1 deletions
|
@ -338,7 +338,7 @@ bool BitmapData::loadTile(const Common::String &fname, Common::SeekableReadStrea
|
|||
for (int i = 0; i < numSubImages; ++i) {
|
||||
delete[] data[i];
|
||||
}
|
||||
|
||||
delete[] data;
|
||||
Graphics::PixelFormat pixelFormat;
|
||||
if (_bpp == 16) {
|
||||
_colorFormat = BM_RGB1555;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue