DIRECTOR: Plug memory leak

This commit is contained in:
Eugene Sandulenko 2020-01-06 13:24:02 +01:00
parent 1fea08e240
commit 046c1fc1c7

View File

@ -149,6 +149,7 @@ BITDDecoder::~BITDDecoder() {
} }
void BITDDecoder::destroy() { void BITDDecoder::destroy() {
delete _surface;
_surface = 0; _surface = 0;
delete[] _palette; delete[] _palette;