aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-31 16:32:11 +0000
committerJohannes Schickel2010-01-31 16:32:11 +0000
commit594d82e287acd177b84f0db65ed86080ea1bbc82 (patch)
treecb5079f4fca508aac75f0ee1f1adaa6680ea06d3 /engines/sci/graphics
parentb21255509a65045aa7551bcacd62c0565513fa39 (diff)
downloadscummvm-rg350-594d82e287acd177b84f0db65ed86080ea1bbc82.tar.gz
scummvm-rg350-594d82e287acd177b84f0db65ed86080ea1bbc82.tar.bz2
scummvm-rg350-594d82e287acd177b84f0db65ed86080ea1bbc82.zip
Fix possible memory leaks.
svn-id: r47755
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/animate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/animate.h b/engines/sci/graphics/animate.h
index 7d421c5b8c..c0fddec3cc 100644
--- a/engines/sci/graphics/animate.h
+++ b/engines/sci/graphics/animate.h
@@ -65,7 +65,7 @@ class Transitions;
class GfxAnimate {
public:
GfxAnimate(EngineState *state, GfxCache *cache, GfxPorts *ports, GfxPaint16 *paint16, GfxScreen *screen, GfxPalette *palette, Cursor *cursor, Transitions *transitions);
- ~GfxAnimate();
+ virtual ~GfxAnimate();
// FIXME: Don't store EngineState
void resetEngineState(EngineState *newState) { _s = newState; }