From 1c914ec5ff1990a66d2647986558316f1a39e9f0 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 984d1016d..094db29e7 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'))