diff options
Diffstat (limited to 'linden/indra/llimage')
-rw-r--r-- | linden/indra/llimage/llimage.cpp | 1 |
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 | } |