diff options
author | pixel <pixel> | 2007-06-29 16:09:43 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-29 16:09:43 +0000 |
commit | 51fcd480712723fc89e20bf2169981e74b565e23 (patch) | |
tree | 7cabf761b64f11c2936f5543f8edc98adb596144 | |
parent | ec2b59927c4fdf6ac7017efbf5f34757038be326 (diff) |
Worst memory leak ever...
-rw-r--r-- | lib/Image.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Image.cc b/lib/Image.cc index 14116f5..432f16a 100644 --- a/lib/Image.cc +++ b/lib/Image.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Image.cc,v 1.17 2007-05-30 11:57:10 pixel Exp $ */ +/* $Id: Image.cc,v 1.18 2007-06-29 16:09:43 pixel Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -277,6 +277,7 @@ bool Image::Prepare(unsigned int f) throw (GeneralException) { } jpeg_finish_compress(&cinfo); jpeg_destroy_compress(&cinfo); + free(rgb_buffer); } #endif break; |