diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index 1d6884ae..04cd9708 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -546,4 +546,6 @@ CreateNextVote() PushArrayString(g_NextMapList, map); RemoveFromArray(tempMaps, b); } + + CloseHandle(tempMaps); } \ No newline at end of file diff --git a/plugins/rockthevote.sp b/plugins/rockthevote.sp index ac618e69..ac822522 100644 --- a/plugins/rockthevote.sp +++ b/plugins/rockthevote.sp @@ -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");