From 9a47f54df3e0e13bb85fa53e5b195ec9ef34c9ab Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 26 Nov 2013 20:54:40 +0100 Subject: [PATCH] FIRE-12242; Don't leak massive amount of memory from read files. --- indra/newview/lllogchat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp index 798c40092a..72ed72a236 100755 --- a/indra/newview/lllogchat.cpp +++ b/indra/newview/lllogchat.cpp @@ -929,6 +929,7 @@ bool LLChatLogParser::parse(std::string& raw, LLSD& im, const LLSD& parse_params { loadHistory(mFileName,mMessages,mLoadParams); shutdown(); + delete this; // FIRE-12242; make sure memory gets freed. } } }