From 884c0b1c75a2337b05c6304419c1802acf910d79 Mon Sep 17 00:00:00 2001 From: infra Date: Mon, 21 Mar 2022 13:19:31 +1100 Subject: [PATCH] Fix memory leak in nominations --- addons/sourcemod/scripting/st-nominations.sp | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sourcemod/scripting/st-nominations.sp b/addons/sourcemod/scripting/st-nominations.sp index ffd9dac..bbf6ac6 100644 --- a/addons/sourcemod/scripting/st-nominations.sp +++ b/addons/sourcemod/scripting/st-nominations.sp @@ -489,6 +489,7 @@ void SQL_SelectIncompleteMapListCallback(Handle owner, Handle hndl, const char[] } } + delete excludeMaps; incompleteMapMenu.ExitBackButton = true; incompleteMapMenu.Display(client, MENU_TIME_FOREVER); }