From a18cb6f61e3e257557ee41dc11bbf199e86a82df Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 30 Jan 2015 22:00:39 -0500 Subject: [PATCH] Another tell_queue leak fix --- world/cliententry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/world/cliententry.cpp b/world/cliententry.cpp index 3dfdbf94c..5e896dca0 100644 --- a/world/cliententry.cpp +++ b/world/cliententry.cpp @@ -236,6 +236,8 @@ void ClientListEntry::ClearVars(bool iAll) { pLFG = 0; gm = 0; pClientVersion = 0; + for (auto &elem : tell_queue) + safe_delete_array(elem); tell_queue.clear(); }