Skip to content

Commit

Permalink
Fix memory leak in nominations
Browse files Browse the repository at this point in the history
  • Loading branch information
infra committed Mar 21, 2022
1 parent 9f06234 commit 884c0b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/sourcemod/scripting/st-nominations.sp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ void SQL_SelectIncompleteMapListCallback(Handle owner, Handle hndl, const char[]
}
}

delete excludeMaps;
incompleteMapMenu.ExitBackButton = true;
incompleteMapMenu.Display(client, MENU_TIME_FOREVER);
}
Expand Down

0 comments on commit 884c0b1

Please sign in to comment.