aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/picture.h
diff options
context:
space:
mode:
authorDavid Turner2010-11-07 21:08:46 +0000
committerDavid Turner2010-11-07 21:08:46 +0000
commit4acad22d6e28d647c3233c183e3104b9d02a86e5 (patch)
tree33f9b7326b1aaa02d4a4baf11eca18ebcacb0ba6 /engines/toon/picture.h
parentce733ab75a9af19fe203930b37f9fc7fb8712cae (diff)
downloadscummvm-rg350-4acad22d6e28d647c3233c183e3104b9d02a86e5.tar.gz
scummvm-rg350-4acad22d6e28d647c3233c183e3104b9d02a86e5.tar.bz2
scummvm-rg350-4acad22d6e28d647c3233c183e3104b9d02a86e5.zip
TOON: Corrections to close some memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option. svn-id: r54127
Diffstat (limited to 'engines/toon/picture.h')
-rw-r--r--engines/toon/picture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toon/picture.h b/engines/toon/picture.h
index 5065843b3c..1b0fd7f550 100644
--- a/engines/toon/picture.h
+++ b/engines/toon/picture.h
@@ -40,6 +40,7 @@ class Picture {
public:
Picture(ToonEngine *vm);
+ ~Picture();
bool loadPicture(Common::String file, bool totalPalette = false);
void setupPalette();
void draw(Graphics::Surface &surface, int32 x, int32 y, int32 dx, int32 dy);