From 00587735f3d7cc5914e8f75da3de863c2dabaf72 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 16 Oct 2010 16:23:42 -0700 Subject: Ported memory leak fix in llcommon/llstring.h from the Ascent Viewer --- linden/indra/llcommon/llstring.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linden/indra/llcommon/llstring.h b/linden/indra/llcommon/llstring.h index 7db62bc..3c6cd43 100644 --- a/linden/indra/llcommon/llstring.h +++ b/linden/indra/llcommon/llstring.h @@ -870,6 +870,7 @@ void LLStringUtilBase::addCRLF(std::basic_string& string) } string.assign(t, size); + delete[] t; } } -- cgit v1.1