From 7e959b861fca434841169a7b9487fc1555fda04b Mon Sep 17 00:00:00 2001 From: neon <> Date: Mon, 3 Sep 2018 21:00:29 +0200 Subject: [PATCH] ooof, nearly created a memleak --- mapchooser_extended/scripting/nominations_extended.sp | 1 + 1 file changed, 1 insertion(+) diff --git a/mapchooser_extended/scripting/nominations_extended.sp b/mapchooser_extended/scripting/nominations_extended.sp index 42684097..a9b6f5cd 100644 --- a/mapchooser_extended/scripting/nominations_extended.sp +++ b/mapchooser_extended/scripting/nominations_extended.sp @@ -583,6 +583,7 @@ public Action Command_NominateList(int client, int args) GetArrayString(MapList, i, map, sizeof(map)); StrCat(aBuf, sizeof(aBuf), map); } + delete MapList; return Plugin_Handled; }