diff options
Diffstat (limited to 'engines/bladerunner')
-rw-r--r-- | engines/bladerunner/obstacles.cpp | 2 | ||||
-rw-r--r-- | engines/bladerunner/ui/end_credits.cpp | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/bladerunner/obstacles.cpp b/engines/bladerunner/obstacles.cpp index ada41df7b3..69d1ba47c3 100644 --- a/engines/bladerunner/obstacles.cpp +++ b/engines/bladerunner/obstacles.cpp @@ -38,6 +38,8 @@ Obstacles::Obstacles(BladeRunnerEngine *vm) { Obstacles::~Obstacles() { delete[] _vertices; + delete[] _polygonsBackup; + delete[] _polygons; } void Obstacles::clear() { diff --git a/engines/bladerunner/ui/end_credits.cpp b/engines/bladerunner/ui/end_credits.cpp index 1ab0b9f8a3..6d964d0290 100644 --- a/engines/bladerunner/ui/end_credits.cpp +++ b/engines/bladerunner/ui/end_credits.cpp @@ -160,6 +160,9 @@ void EndCredits::show() { free(textPositions); delete textResource; + delete fontSmall; + delete fontBig; + _vm->_music->stop(0); _vm->_mouse->enable(); } |