From 16ec76454eba3143e98434adab731cc71ad5ee0b Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 6 Dec 2008 11:50:22 -0600 Subject: VWR-10837 (use delete [] in LLImageTGA) Patch by Aleric Inglewood. --- ChangeLog.txt | 5 +++++ linden/indra/llimage/llimagetga.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 7ca5d3b..533bddd 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,10 @@ 2008-12-06 Jacek Antonelli + * linden/indra/llimage/llimagetga.cpp: + VWR-10837 (use delete [] in LLImageTGA) + Patch by Aleric Inglewood. + + * linden/indra/llmedia/llmediaimplgstreamer.cpp: VWR-10759 (use delete [] in LLMediaImplGStreamer) Patch by Aleric Inglewood. diff --git a/linden/indra/llimage/llimagetga.cpp b/linden/indra/llimage/llimagetga.cpp index 32c2111..21d0fd1 100644 --- a/linden/indra/llimage/llimagetga.cpp +++ b/linden/indra/llimage/llimagetga.cpp @@ -104,7 +104,7 @@ LLImageTGA::LLImageTGA(const std::string& file_name) LLImageTGA::~LLImageTGA() { - delete mColorMap; + delete [] mColorMap; } BOOL LLImageTGA::updateData() -- cgit v1.1