opnsense-ports/graphics/exact-image/files/patch-codecs__jpeg.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 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;
}