Commit b82d0e17 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix memory leak introduced in 9e853438

Thankfully coverity caught it before the release :)
parent ee0bd544
......@@ -2133,6 +2133,7 @@ void JBIG2Stream::readTextRegionSeg(unsigned int segNum, bool imm, bool lossless
if (!huff) {
if (!resetIntStats(symCodeLen)) {
gfree(syms);
return;
}
arithDecoder->start();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment