Fixed a memory leak I made :-)

This commit is contained in:
David Anderson 2004-05-14 20:48:34 +00:00
parent af1242415c
commit 2cf4801f6b

View File

@ -533,6 +533,8 @@ static cell AMX_NATIVE_CALL strbreak(AMX *amx, cell *params) /* 5 param */
right[right_pos] = '\0';
set_amxstring(amx, params[2], left, params[3]);
set_amxstring(amx, params[4], right, params[5]);
delete [] left;
delete [] right;
return 1;
}