diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-06-14 16:03:09 +0100 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-06-14 16:03:09 +0100 |
commit | e2949752c6bf503214ef8b1a759721e1817e28cc (patch) | |
tree | 88a420c552706a6ae3b69a1923c55c4dfa73b19d | |
parent | e96544ff266849207adfc3823adfc2dcfe42ce72 (diff) | |
parent | 1a190182ea657127fdf05eff892546087046da97 (diff) |
Automated merge with ssh://hg.lindenlab.com/dessie/viewer-release
-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; } |