Fixed alloc/dealloc mismatches

This commit is contained in:
David Anderson
2005-08-18 00:29:43 +00:00
parent 661f6c9851
commit 03b6d3e77d
5 changed files with 4 additions and 2 deletions

View File

@@ -406,7 +406,7 @@ void ClearPluginLibraries()
for (size_t i=0; i<g_RegNatives.size(); i++)
{
delete g_RegNatives[i]->pfn;
delete [] g_RegNatives[i]->pfn;
delete g_RegNatives[i];
}
g_RegNatives.clear();