diff options
author | David Turner | 2010-07-18 22:11:22 +0000 |
---|---|---|
committer | David Turner | 2010-07-18 22:11:22 +0000 |
commit | efbac08e6b5de96436b32ee5e8a79ba7f2b9cb88 (patch) | |
tree | c63408ba871fdecaffc9f90010f6c36a308e15fa /engines/sci/engine | |
parent | e4271b0bb09cd80abc49444495aa9a6fac579ab1 (diff) | |
download | scummvm-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/engine')
-rw-r--r-- | engines/sci/engine/kernel.cpp | 2 |
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 { |