Skip to content

Commit 884c0b1

Browse files
author
infra
committed
Fix memory leak in nominations
1 parent 9f06234 commit 884c0b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/sourcemod/scripting/st-nominations.sp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ void SQL_SelectIncompleteMapListCallback(Handle owner, Handle hndl, const char[]
489489
}
490490
}
491491

492+
delete excludeMaps;
492493
incompleteMapMenu.ExitBackButton = true;
493494
incompleteMapMenu.Display(client, MENU_TIME_FOREVER);
494495
}

0 commit comments

Comments
 (0)