mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +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);
|
nodenum = (char*) malloc(3);
|
||||||
strncpy(nodenum, w_chat+3, 3);
|
strncpy(nodenum, w_chat+3, 3);
|
||||||
n = atoi((const char*) nodenum); // turn that into a number
|
n = atoi((const char*) nodenum); // turn that into a number
|
||||||
|
free(nodenum);
|
||||||
// special cases:
|
// special cases:
|
||||||
|
|
||||||
if ((n == 0) && !(w_chat[4] == '0'))
|
if ((n == 0) && !(w_chat[4] == '0'))
|
||||||
|
|
Loading…
Reference in a new issue