From dd63cef93efce72b300c99a6a8b9415a111c2b82 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 11 Apr 2015 15:38:31 -0500 Subject: MADS: Fix memory leak in Dialog class --- engines/mads/dialogs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/mads/dialogs.cpp b/engines/mads/dialogs.cpp index 158d9693ad..7f0b02bc65 100644 --- a/engines/mads/dialogs.cpp +++ b/engines/mads/dialogs.cpp @@ -43,6 +43,7 @@ Dialog::Dialog(MADSEngine *vm) } Dialog::~Dialog() { + delete _savedSurface; } void Dialog::save() { -- cgit v1.2.3