summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-08-06 16:05:19 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-08-06 16:05:19 +0300
commit4f91a84c40dd820e08a322310ab403b07d7c985a (patch)
treedc8f5b06e8f0254eb4585397ae1345542c32965f /indra/llimage
parent46334b6310ca76fea0f712b2e9dd1084af387f25 (diff)
parentbcb7401645e8ded64a2ca35e3daea697fb480d39 (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 0fc5ca1ad6..1566389e30 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -1553,6 +1553,7 @@ void LLImageFormatted::appendData(U8 *data, S32 size)
S32 newsize = cursize + size;
reallocateData(newsize);
memcpy(getData() + cursize, data, size);
+ delete[] data;
}
}
}