Fixed handle leak in mapchooser and rtv
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401648
This commit is contained in:
parent
92ee426225
commit
60af5442d4
@ -546,4 +546,6 @@ CreateNextVote()
|
||||
PushArrayString(g_NextMapList, map);
|
||||
RemoveFromArray(tempMaps, b);
|
||||
}
|
||||
|
||||
CloseHandle(tempMaps);
|
||||
}
|
@ -376,6 +376,8 @@ public Action:Timer_StartRTV(Handle:timer)
|
||||
AddMenuItem(MapVoteMenu, map, map);
|
||||
RemoveFromArray(tempMaps, b);
|
||||
}
|
||||
|
||||
CloseHandle(tempMaps);
|
||||
|
||||
AddMenuItem(MapVoteMenu, "Don't Change", "Don't Change");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user