diff options
| author | Mike Antipov <mantipov@productengine.com> | 2010-06-15 11:15:51 +0300 |
|---|---|---|
| committer | Mike Antipov <mantipov@productengine.com> | 2010-06-15 11:15:51 +0300 |
| commit | d1cb678bac7805f7ceef1d711c7cb49731d6ccb4 (patch) | |
| tree | 4c282dfa2da46461cff9135a0af93d18cfe43dff /indra/llimage | |
| parent | 0ec92fb1c8a90d619d0102d0807a32abedc916f1 (diff) | |
| parent | b3fc9c79f559c84893dede3ce643ac0dfd1f3d65 (diff) | |
Merge from default branch
--HG--
branch : product-engine
Diffstat (limited to 'indra/llimage')
| -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; } |
