fixed a memory leak in SortCustom1D()

This commit is contained in:
David Anderson 2007-04-25 14:10:47 +00:00
parent 82c3807bd5
commit d679885985

View File

@ -265,6 +265,7 @@ static cell AMX_NATIVE_CALL SortCustom1D(AMX *amx, cell *params)
qsort(array, array_size, sizeof(cell), sort1d_amx_custom); qsort(array, array_size, sizeof(cell), sort1d_amx_custom);
g_AMXSortStack.pop(); g_AMXSortStack.pop();
unregisterSPForward(pfn);
delete pInfo; delete pInfo;
return 1; return 1;