aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-06 23:52:16 +0100
committerEugene Sandulenko2016-01-06 23:52:16 +0100
commit71f41f9ff88b3096352199a09660aa9a96d42926 (patch)
tree42330009021fac62821d83fd440c2ded763a8c49
parentf67b43eec871cc0726478f0228c16604aebd9487 (diff)
downloadscummvm-rg350-71f41f9ff88b3096352199a09660aa9a96d42926.tar.gz
scummvm-rg350-71f41f9ff88b3096352199a09660aa9a96d42926.tar.bz2
scummvm-rg350-71f41f9ff88b3096352199a09660aa9a96d42926.zip
WAGE: Plug another leak
-rw-r--r--engines/wage/design.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index 71a55bed7c..74a97ed20d 100644
--- a/engines/wage/design.cpp
+++ b/engines/wage/design.cpp
@@ -75,6 +75,7 @@ Design::Design(Common::SeekableReadStream *data) {
Design::~Design() {
free(_data);
+ _surface->free();
delete _surface;
}