diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index e7bbaede..4c70038f 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -1332,3 +1332,9 @@ public cmdLast(id, level, cid) return PLUGIN_HANDLED; } + +public plugin_end() +{ + TrieDestroy(g_tempBans); + TrieDestroy(g_tXvarsFlags); +} diff --git a/plugins/imessage.sma b/plugins/imessage.sma index 9a0a37ff..f03c11a1 100755 --- a/plugins/imessage.sma +++ b/plugins/imessage.sma @@ -117,4 +117,7 @@ public plugin_end() num_to_str(g_Current, lastinfo, charsmax(lastinfo)) set_localinfo("lastinfomsg", lastinfo) + + ArrayDestroy(g_Messages) + ArrayDestroy(g_Values) } diff --git a/plugins/mapchooser.sma b/plugins/mapchooser.sma index 9706f30a..55c988b9 100755 --- a/plugins/mapchooser.sma +++ b/plugins/mapchooser.sma @@ -289,4 +289,6 @@ public plugin_end() get_mapname(current_map, charsmax(current_map)) set_localinfo("lastMap", current_map) + + ArrayDestroy(g_mapName) } diff --git a/plugins/mapsmenu.sma b/plugins/mapsmenu.sma index 8d775ae5..22236855 100755 --- a/plugins/mapsmenu.sma +++ b/plugins/mapsmenu.sma @@ -574,3 +574,8 @@ load_settings(filename[]) return 1; } + +public plugin_end() +{ + ArrayDestroy(g_mapName) +} diff --git a/plugins/plmenu.sma b/plugins/plmenu.sma index 5bd76007..7896e35c 100755 --- a/plugins/plmenu.sma +++ b/plugins/plmenu.sma @@ -1243,3 +1243,9 @@ load_settings(szFilename[]) return 1; } + +public plugin_end() +{ + ArrayDestroy(g_bantimes); + ArrayDestroy(g_slapsettings); +}