From ca2979c1af0613a857a8d4c2b86d06e7d8f1ba2a Mon Sep 17 00:00:00 2001 From: fickleheart Date: Tue, 26 Mar 2019 01:10:00 -0500 Subject: [PATCH] Free nodes properly in cleanupnodes Hopefully the other changes herein have rendered cleanupnodes obsolete, but I'm not too sure of that..... --- src/i_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_tcp.c b/src/i_tcp.c index 0c7f7cc96..ab14cdc93 100644 --- a/src/i_tcp.c +++ b/src/i_tcp.c @@ -524,7 +524,7 @@ static void cleanupnodes(void) // Why can't I start at zero? for (j = 1; j < MAXNETNODES; j++) if (!(nodeingame[j] || SV_SendingFile(j))) - nodeconnected[j] = false; + SOCK_FreeNodenum(j); // At least free this PROPERLY } static SINT8 getfreenode(void)