diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index 2593198f06d..8b2ac3dc62b 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;