From bde7830bf531245570d5754e71f5724ead72dfc1 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Tue, 19 Jan 2010 17:58:17 +0200 Subject: =?UTF-8?q?fixed=20EXT-4478=20=E2=80=9CMemory=20leak=20in=20LLChic?= =?UTF-8?q?letPanel=E2=80=9D,=20added=20destroying=20chiclet=20on=20chicle?= =?UTF-8?q?t=20panel=20item=20remove=20event;=20made=20LLIMChiclet=20destr?= =?UTF-8?q?uctor=20virtual;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : product-engine --- indra/newview/llchiclet.cpp | 1 + indra/newview/llchiclet.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp index f21fbbe6f5..1d739f07b1 100644 --- a/indra/newview/llchiclet.cpp +++ b/indra/newview/llchiclet.cpp @@ -1297,6 +1297,7 @@ void LLChicletPanel::removeChiclet(chiclet_list_t::iterator it) mChicletList.erase(it); arrange(); + (*it)->die(); } void LLChicletPanel::removeChiclet(S32 index) diff --git a/indra/newview/llchiclet.h b/indra/newview/llchiclet.h index ae5b2148db..bb4846aa57 100644 --- a/indra/newview/llchiclet.h +++ b/indra/newview/llchiclet.h @@ -325,7 +325,7 @@ public: }; - /*virtual*/ ~LLIMChiclet() {}; + virtual ~LLIMChiclet() {}; /** * Sets IM session name. This name will be displayed in chiclet tooltip. -- cgit v1.2.3