summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-08-05 16:28:11 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-08-05 16:28:11 +0100
commit8780c59894ce79fe354f55d204a3067556c7e710 (patch)
tree17b3c2c5cbcf72074ce3649bdf1ab39a7fd158d8 /indra/llimage
parent07f668fe2b135f96b74e0999d052b4608e223b68 (diff)
parente4ec91fecdfd2200793ba012dc615b8038bd0244 (diff)
merge
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;
}
}
}