diff options
Diffstat (limited to 'linden/indra/llimage/llimagepng.cpp')
-rw-r--r-- | linden/indra/llimage/llimagepng.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llimage/llimagepng.cpp b/linden/indra/llimage/llimagepng.cpp index b5de104..387e2fd 100644 --- a/linden/indra/llimage/llimagepng.cpp +++ b/linden/indra/llimage/llimagepng.cpp | |||
@@ -135,6 +135,7 @@ BOOL LLImagePNG::encode(const LLImageRaw* raw_image, F32 encode_time) | |||
135 | if (! pngWrapper.writePng(raw_image, mTmpWriteBuffer)) | 135 | if (! pngWrapper.writePng(raw_image, mTmpWriteBuffer)) |
136 | { | 136 | { |
137 | setLastError(pngWrapper.getErrorMessage()); | 137 | setLastError(pngWrapper.getErrorMessage()); |
138 | delete[] mTmpWriteBuffer; | ||
138 | return FALSE; | 139 | return FALSE; |
139 | } | 140 | } |
140 | 141 | ||