fix memory leak.

More at https://bugs.freedesktop.org/show_bug.cgi?id=6765

svn path=/branches/KDE/3.5/kdegraphics/kpdf/; revision=535464
remotes/origin/kpdf-3.5
Albert Astals Cid 20 years ago
parent 2b6603783e
commit 308685f43a
  1. 1
      xpdf/xpdf/JBIG2Stream.cc

@ -2449,6 +2449,7 @@ void JBIG2Stream::readHalftoneRegionSeg(Guint segNum, GBool imm,
}
}
delete skipBitmap;
gfree(grayImg);
// combine the region bitmap into the page bitmap

Loading…
Cancel
Save