1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 07:23: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:
Bram Matthys
2019-09-14 17:15:15 +02:00
parent 950fc5001e
commit a75d10d3e4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -80,9 +80,9 @@ void flag_add(char ch)
}
else
{
extraflags = malloc(2);
extraflags = safe_alloc(2);
extraflags[0] = ch;
extraflags[1] = 0;
extraflags[1] = '\0';
}
}