fixed a memory leak in SortCustom1D()
This commit is contained in:
parent
82c3807bd5
commit
d679885985
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user