From 6f457945743f46ffdded1bcb83860e6a4abffcef Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Sat, 16 Mar 2013 13:08:35 -0400 Subject: [PATCH] Fixed mismatched delete [] on thunks in JIT CompData dtor (bug 5639, r=dvander). --- sourcepawn/jit/x86/jit_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/jit/x86/jit_x86.cpp b/sourcepawn/jit/x86/jit_x86.cpp index 69f2a854..33f0530d 100644 --- a/sourcepawn/jit/x86/jit_x86.cpp +++ b/sourcepawn/jit/x86/jit_x86.cpp @@ -2951,7 +2951,7 @@ void CompData::Abort() { engine->BaseFree(rebase); } - delete [] thunks; + free(thunks); delete [] jit_float_table; delete this; }