aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/images.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/images.cpp b/engines/director/images.cpp
index cd8223ae8e..0ec84af0d3 100644
--- a/engines/director/images.cpp
+++ b/engines/director/images.cpp
@@ -41,6 +41,7 @@ DIBDecoder::~DIBDecoder() {
}
void DIBDecoder::destroy() {
+ delete _surface;
_surface = 0;
delete[] _palette;