aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/cge/snail.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index 4cd95a888e..edb8972040 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -1199,6 +1199,8 @@ void CGEEngine::snFlash(bool on) {
}
_vga->setColors(pal, 64);
}
+
+ free(pal);
} else
_vga->setColors(_vga->_sysPal, 64);
_dark = false;