aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/graphics.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-03-03 14:13:40 +1100
committerPaul Gilbert2012-03-03 14:13:40 +1100
commit83f193edbd97af01904c45934bfaafb4c11efecc (patch)
treec3d81a6cac3b33e73b65717bf8658c6aa5cbc4e0 /engines/tsage/graphics.cpp
parent101ec2b885aade21216c1bba8488711b30d192eb (diff)
downloadscummvm-rg350-83f193edbd97af01904c45934bfaafb4c11efecc.tar.gz
scummvm-rg350-83f193edbd97af01904c45934bfaafb4c11efecc.tar.bz2
scummvm-rg350-83f193edbd97af01904c45934bfaafb4c11efecc.zip
TSAGE: Fix memory leak and error in R2R Animation Player free
Diffstat (limited to 'engines/tsage/graphics.cpp')
-rw-r--r--engines/tsage/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index 5ddc7b6a1a..b3dceba292 100644
--- a/engines/tsage/graphics.cpp
+++ b/engines/tsage/graphics.cpp
@@ -223,11 +223,13 @@ GfxSurface::GfxSurface() : _bounds(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT) {
_lockSurfaceCtr = 0;
_customSurface = NULL;
_transColor = -1;
+ _trackDirtyRects = false;
}
GfxSurface::GfxSurface(const GfxSurface &s) {
_lockSurfaceCtr = 0;
_customSurface = NULL;
+ _trackDirtyRects = false;
this->operator =(s);
}