aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorDavid Turner2010-07-18 22:11:22 +0000
committerDavid Turner2010-07-18 22:11:22 +0000
commitefbac08e6b5de96436b32ee5e8a79ba7f2b9cb88 (patch)
treec63408ba871fdecaffc9f90010f6c36a308e15fa /engines/sci
parente4271b0bb09cd80abc49444495aa9a6fac579ab1 (diff)
downloadscummvm-rg350-efbac08e6b5de96436b32ee5e8a79ba7f2b9cb88.tar.gz
scummvm-rg350-efbac08e6b5de96436b32ee5e8a79ba7f2b9cb88.tar.bz2
scummvm-rg350-efbac08e6b5de96436b32ee5e8a79ba7f2b9cb88.zip
SCI : Corrected valgrind error on engine exit
svn-id: r51011
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index 66b36b29f6..ec96c6c3e9 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -736,7 +736,7 @@ Kernel::Kernel(ResourceManager *resMan, SegManager *segMan)
Kernel::~Kernel() {
for (KernelFunctionArray::iterator i = _kernelFuncs.begin(); i != _kernelFuncs.end(); ++i)
- free(i->signature);
+ delete[] i->signature;
}
uint Kernel::getSelectorNamesSize() const {