diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-06-14 10:55:25 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-06-14 10:55:25 -0700 |
commit | baf9b3cb078c04b019fccc4ae8a54db05b14bdef (patch) | |
tree | aa422043ec900036716d35e73240efc9df152d32 /indra/llimage/llimagepng.cpp | |
parent | 76cf9e29a77566c10da6184833fad6b0912e9688 (diff) | |
parent | fbc95fe7e77ed093f8f7938a4755ce6b175dcaff (diff) |
Merge
Diffstat (limited to 'indra/llimage/llimagepng.cpp')
-rw-r--r-- | indra/llimage/llimagepng.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llimage/llimagepng.cpp b/indra/llimage/llimagepng.cpp index b5de104e61..a6ab246a2c 100644 --- a/indra/llimage/llimagepng.cpp +++ b/indra/llimage/llimagepng.cpp @@ -135,6 +135,7 @@ BOOL LLImagePNG::encode(const LLImageRaw* raw_image, F32 encode_time) if (! pngWrapper.writePng(raw_image, mTmpWriteBuffer)) { setLastError(pngWrapper.getErrorMessage()); + delete[] mTmpWriteBuffer; return FALSE; } |