mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
One more free(nodenum)
This commit is contained in:
parent
5badc11159
commit
0f0e30924f
1 changed files with 1 additions and 0 deletions
|
@ -1730,6 +1730,7 @@ static void HU_DrawChat(void)
|
|||
nodenum = (char*) malloc(3);
|
||||
strncpy(nodenum, w_chat+3, 3);
|
||||
n = atoi((const char*) nodenum); // turn that into a number
|
||||
free(nodenum);
|
||||
// special cases:
|
||||
|
||||
if ((n == 0) && !(w_chat[4] == '0'))
|
||||
|
|
Loading…
Reference in a new issue