mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
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);
|
||||
g_AMXSortStack.pop();
|
||||
|
||||
unregisterSPForward(pfn);
|
||||
delete pInfo;
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user