diff options
| author | Dessie Linden <dessie@lindenlab.com> | 2010-06-15 09:07:45 -0700 |
|---|---|---|
| committer | Dessie Linden <dessie@lindenlab.com> | 2010-06-15 09:07:45 -0700 |
| commit | 59cc637b8df9b189b2c43e2fcf588c977580f820 (patch) | |
| tree | bfd5a5ec417c9581415f1fc98af6d96fbc6d1604 /indra/llimage | |
| parent | d1ecffeb8e4b02bc5d796872e61eebf84e598983 (diff) | |
| parent | b3fc9c79f559c84893dede3ce643ac0dfd1f3d65 (diff) | |
Merged from viewer-release
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; } |
