summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-08-05 16:27:15 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-08-05 16:27:15 +0100
commite4ec91fecdfd2200793ba012dc615b8038bd0244 (patch)
treee6dae6bb9908609d73b7263c1855e77b819cbab9 /indra
parent838dbb9b0f8ed2c1c97b685715e75ca97ba1dc0c (diff)
parent0e673902f4d3ba257299cfc9552dcbf4977cf4a9 (diff)
merge
Diffstat (limited to 'indra')
-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;
}
}
}