Fix some memleaks :^)

This commit is contained in:
BotoX
2016-12-05 21:14:59 +01:00
parent 4c6a9e7f57
commit 3818fea767
4 changed files with 17 additions and 1 deletions
@@ -486,6 +486,14 @@ public Action Command_NominateList(int client, int args)
public int Handler_NominateListMenu(Handle menu, MenuAction action, int param1, int param2)
{
switch(action)
{
case MenuAction_End:
{
delete menu;
}
}
return 0;
}