mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-11 04:06:12 +00:00
DIRECTOR: Plug memory leak
This commit is contained in:
parent
1fea08e240
commit
046c1fc1c7
@ -149,6 +149,7 @@ BITDDecoder::~BITDDecoder() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void BITDDecoder::destroy() {
|
void BITDDecoder::destroy() {
|
||||||
|
delete _surface;
|
||||||
_surface = 0;
|
_surface = 0;
|
||||||
|
|
||||||
delete[] _palette;
|
delete[] _palette;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user