From a224e28c152ce51dc33ddc8998fcdb8a274d89a5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 18 Jul 2014 20:33:49 -0400 Subject: MADS: Fixes for compilation warnings --- engines/mads/nebular/dialogs_nebular.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/mads/nebular/dialogs_nebular.cpp') diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp index 1cbb7ea3a6..d1fc47e0e7 100644 --- a/engines/mads/nebular/dialogs_nebular.cpp +++ b/engines/mads/nebular/dialogs_nebular.cpp @@ -528,6 +528,10 @@ FullScreenDialog::FullScreenDialog(MADSEngine *vm) : _vm(vm) { _screenId = 990; } +FullScreenDialog::~FullScreenDialog() { + _savedSurface.free(); +} + void FullScreenDialog::display() { Game &game = *_vm->_game; Scene &scene = game._scene; -- cgit v1.2.3