From 6e26aff1e3ab91a329d4d6fc473f9f67563cb943 Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 3 Jul 2022 22:01:51 +0100 Subject: [PATCH] Free the banned struct on SOCK_ClearBans. --- src/i_tcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i_tcp.c b/src/i_tcp.c index 2501cc5b9..e7286686f 100644 --- a/src/i_tcp.c +++ b/src/i_tcp.c @@ -1683,6 +1683,7 @@ static void SOCK_ClearBans(void) { numbans = 0; banned_size = 0; + Z_Free(banned); banned = NULL; }