Index: JBIG2Stream.cc =================================================================== RCS file: /cvs/poppler/poppler/poppler/JBIG2Stream.cc,v retrieving revision 1.8 diff -u -p -r1.8 JBIG2Stream.cc --- JBIG2Stream.cc 5 Apr 2006 18:20:56 -0000 1.8 +++ JBIG2Stream.cc 27 Apr 2006 08:08:10 -0000 @@ -2420,6 +2420,7 @@ void JBIG2Stream::readHalftoneRegionSeg( } } } + delete skipBitmap; } // read the gray-scale image