From 0f0e30924f3d32571efc30595f42a83003581ffd Mon Sep 17 00:00:00 2001 From: mazmazz Date: Sat, 22 Dec 2018 20:35:12 -0500 Subject: [PATCH] One more free(nodenum) --- src/hu_stuff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 984d1016..094db29e 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -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'))