From 17809d0fb313d9ebae6491d0888432d182c13f30 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Thu, 24 Jan 2013 17:27:50 +0100 Subject: WINTERMUTE: Delete the _dirtyRect-field of BaseRenderOSystem in the destructor. --- engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/wintermute/base/gfx/osystem') diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index fb0cb781ba..a5b251cea6 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -76,6 +76,8 @@ BaseRenderOSystem::~BaseRenderOSystem() { delete ticket; } + delete _dirtyRect; + _renderSurface->free(); delete _renderSurface; _blankSurface->free(); -- cgit v1.2.3