mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 08:03:13 +02:00
Some remaining malloc() calls -> safe_alloc()
Unimportant, but this way 100% of those is done. This is step 4 of X of the memory function / caller changes.
This commit is contained in:
@@ -256,7 +256,7 @@ CMD_FUNC(cmd_sajoin)
|
||||
{
|
||||
opermode = 0;
|
||||
sajoinmode = 1;
|
||||
mode_args[0] = (char*)malloc(2);
|
||||
mode_args[0] = safe_alloc(2);
|
||||
mode_args[0][0] = mode;
|
||||
mode_args[0][1] = '\0';
|
||||
mode_args[1] = acptr->name;
|
||||
|
||||
Reference in New Issue
Block a user