diff options
author | Eugene Sandulenko | 2020-01-06 13:24:02 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2020-01-06 13:24:02 +0100 |
commit | 046c1fc1c78f52245d8aca3c2ecf281ae7da104c (patch) | |
tree | 0cbeb77e05b18f63b0a8375aad364cb43fb652e7 | |
parent | 1fea08e240499af5002e7907180857e6932d857f (diff) | |
download | scummvm-rg350-046c1fc1c78f52245d8aca3c2ecf281ae7da104c.tar.gz scummvm-rg350-046c1fc1c78f52245d8aca3c2ecf281ae7da104c.tar.bz2 scummvm-rg350-046c1fc1c78f52245d8aca3c2ecf281ae7da104c.zip |
DIRECTOR: Plug memory leak
-rw-r--r-- | engines/director/images.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/images.cpp b/engines/director/images.cpp index 10d73accc1..bff1a6a7fc 100644 --- a/engines/director/images.cpp +++ b/engines/director/images.cpp @@ -149,6 +149,7 @@ BITDDecoder::~BITDDecoder() { } void BITDDecoder::destroy() { + delete _surface; _surface = 0; delete[] _palette; |