summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-08-06 16:40:03 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-08-06 16:40:03 +0300
commite6f58368aa972831711451e6bfb4a0c886c1053d (patch)
treecff91519619728f5da8bf3a28429361472bc3c85 /indra/llimage/llimage.cpp
parentd20e7471ad9881fd5a9a58d69729ba41c3a5e12c (diff)
parentcb1744dae641e3bbab13e88312f1df0e8f5af2b4 (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/llimage/llimage.cpp')
-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;
}
}
}