1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/graphics/exact-image/files/patch-codecs__jpeg.cc
Martin Wilke fc3b6a0406 - Update to 0.7.5
PR:		142954
Submitted by:	bf <bf1783@gmail.com> (maintainer)
2010-01-21 21:14:51 +00:00

12 lines
327 B
C++

--- codecs/jpeg.cc.orig 2009-06-14 08:19:28.000000000 -0400
+++ codecs/jpeg.cc 2010-01-16 21:51:34.000000000 -0500
@@ -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;
}