ports/graphics/exact-image/files/patch-codecs__jpeg.cc
Dennis Herrmann 46a1908a77 - Update to 0.7.4
PR:		ports/136648
Submitted by:	bf <bf1783@gmail.com> (maintainer)
2009-07-11 10:04:20 +00:00

11 lines
329 B
C++

--- codecs/jpeg.cc.orig 2009-07-02 18:34:41.000000000 -0400
+++ codecs/jpeg.cc 2009-07-02 18:43:42.000000000 -0400
@@ -683,7 +683,7 @@
* We need to clean up the JPEG object, close the input file, and return.
*/
jpeg_destroy_decompress (cinfo);
- free (cinfo);
+ delete[] cinfo;
return false;
}