summaryrefslogtreecommitdiff
path: root/lib/Image.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Image.cc')
-rw-r--r--lib/Image.cc3
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;