aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimage/llimage.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-08-07 02:02:17 -0700
committerMcCabe Maxsted2010-08-26 11:17:35 -0700
commit62732f54cce401a11a4db569303e29c84983854a (patch)
tree5b76c9abdb7a44ff6dd56b76272289b86048eae2 /linden/indra/llimage/llimage.cpp
parentFixed curly quotes for jcfloaterareasearch (diff)
downloadmeta-impy-62732f54cce401a11a4db569303e29c84983854a.zip
meta-impy-62732f54cce401a11a4db569303e29c84983854a.tar.gz
meta-impy-62732f54cce401a11a4db569303e29c84983854a.tar.bz2
meta-impy-62732f54cce401a11a4db569303e29c84983854a.tar.xz
Applied patch by Thickbrick Sleaford for SNOW-793: Memory leak in LLImageFormatted::appendData
Diffstat (limited to '')
-rw-r--r--linden/indra/llimage/llimage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llimage/llimage.cpp b/linden/indra/llimage/llimage.cpp
index 0baa005..776c481 100644
--- a/linden/indra/llimage/llimage.cpp
+++ b/linden/indra/llimage/llimage.cpp
@@ -1547,6 +1547,7 @@ void LLImageFormatted::appendData(U8 *data, S32 size)
1547 S32 newsize = cursize + size; 1547 S32 newsize = cursize + size;
1548 reallocateData(newsize); 1548 reallocateData(newsize);
1549 memcpy(getData() + cursize, data, size); 1549 memcpy(getData() + cursize, data, size);
1550 delete[] data;
1550 } 1551 }
1551 } 1552 }
1552} 1553}