diff options
author | Richard Nelson <none@none> | 2010-06-14 15:39:00 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-06-14 15:39:00 -0700 |
commit | 7df20f1315d7fe9686abf3a2dc486613a9e51a83 (patch) | |
tree | 6a21b0578c0d8c4e66c2d6bd29ddcbe93da77f95 /indra/llimage | |
parent | e97cef4de92f446bb51b4137ce64605f74d7f48e (diff) | |
parent | baf9b3cb078c04b019fccc4ae8a54db05b14bdef (diff) |
merge
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; } |