mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
One more free(nodenum)
This commit is contained in:
parent
49222b1663
commit
1c914ec5ff
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…
Add table
Reference in a new issue