poppler/JBIG2Stream.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit b82d0e17fb8d26f87a51d79046364d141187bd61
Author: Albert Astals Cid <[email protected]>
Date: Tue Sep 1 22:45:32 2020 +0200
Fix memory leak introduced in 9e853438c5e9d56c07141220f2b30d7215ee9278
Thankfully coverity caught it before the release :)
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index 49270784..67251739 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -2133,6 +2133,7 @@ void JBIG2Stream::readTextRegionSeg(unsigned int segNum,
bool imm, bool lossless
if (!huff) {
if (!resetIntStats(symCodeLen)) {
+ gfree(syms);
return;
}
arithDecoder->start();
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler