diff --git a/amxmodx/JIT/natives-x86.o b/amxmodx/JIT/natives-x86.o index 221831c8..45cc2aed 100755 Binary files a/amxmodx/JIT/natives-x86.o and b/amxmodx/JIT/natives-x86.o differ diff --git a/amxmodx/JIT/natives-x86.obj b/amxmodx/JIT/natives-x86.obj index 9e8fde4b..67b0b0bb 100755 Binary files a/amxmodx/JIT/natives-x86.obj and b/amxmodx/JIT/natives-x86.obj differ diff --git a/amxmodx/amxxfile.cpp b/amxmodx/amxxfile.cpp index bffe83f1..9a818be5 100755 --- a/amxmodx/amxxfile.cpp +++ b/amxmodx/amxxfile.cpp @@ -220,7 +220,7 @@ CAmxxReader::~CAmxxReader() } if (m_Bh.plugins) { - delete m_Bh.plugins; + delete [] m_Bh.plugins; m_Bh.plugins = NULL; } } diff --git a/amxmodx/natives-x86.asm b/amxmodx/natives-x86.asm index 91d4b693..9632b2b2 100755 --- a/amxmodx/natives-x86.asm +++ b/amxmodx/natives-x86.asm @@ -95,4 +95,6 @@ _amxx_DynaCodesize: pop ebp ret +section .data + GLOBAL_GATE DD 0 diff --git a/amxmodx/natives.cpp b/amxmodx/natives.cpp index 571748fa..63ee5607 100755 --- a/amxmodx/natives.cpp +++ b/amxmodx/natives.cpp @@ -406,7 +406,7 @@ void ClearPluginLibraries() for (size_t i=0; ipfn; + delete [] g_RegNatives[i]->pfn; delete g_RegNatives[i]; } g_RegNatives.clear();