diff options
Diffstat (limited to 'engines/prince')
-rw-r--r-- | engines/prince/prince.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp index 4b1147626a..e5e78139cf 100644 --- a/engines/prince/prince.cpp +++ b/engines/prince/prince.cpp @@ -199,6 +199,11 @@ PrinceEngine::~PrinceEngine() { free(_shadowLine); free(_creditsData); + + if (_dialogImage != nullptr) { + _dialogImage->free(); + delete _dialogImage; + } } GUI::Debugger *PrinceEngine::getDebugger() { |