aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/gfx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index 2593198f06..8b2ac3dc62 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -39,6 +39,8 @@ Gfx::Gfx() {
}
Gfx::~Gfx() {
+ for (uint i = 0; i < _gfxCache->size(); i++)
+ delete _gfxCache->operator[](i);
delete _gfxCache;
delete _sines;
delete _cosines;