Free the banned struct on SOCK_ClearBans.

This commit is contained in:
toaster 2022-07-03 22:01:51 +01:00
parent 7c92a7efbb
commit 36e44f2f6f

View file

@ -1655,6 +1655,7 @@ static void SOCK_ClearBans(void)
{
numbans = 0;
banned_size = 0;
Z_Free(banned);
banned = NULL;
}