diff options
author | Einar Johan Trøan Sømåen | 2013-01-24 17:27:50 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-01-24 17:27:50 +0100 |
commit | 17809d0fb313d9ebae6491d0888432d182c13f30 (patch) | |
tree | 5b6a60ca8b622ef4d8e9154bdab570ffa746238c /engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | |
parent | 5453f7f7e6f7d1f407e5c8606e596ee0de5feb23 (diff) | |
download | scummvm-rg350-17809d0fb313d9ebae6491d0888432d182c13f30.tar.gz scummvm-rg350-17809d0fb313d9ebae6491d0888432d182c13f30.tar.bz2 scummvm-rg350-17809d0fb313d9ebae6491d0888432d182c13f30.zip |
WINTERMUTE: Delete the _dirtyRect-field of BaseRenderOSystem in the destructor.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_render_osystem.cpp')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |