From efbac08e6b5de96436b32ee5e8a79ba7f2b9cb88 Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 18 Jul 2010 22:11:22 +0000 Subject: SCI : Corrected valgrind error on engine exit svn-id: r51011 --- engines/sci/engine/kernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/engine') 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 { -- cgit v1.2.3