summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2014-04-06 15:23:35 +0200
committerAlbert Astals Cid <aacid@kde.org>2014-04-06 16:08:14 +0200
commit26b961a64030d91c5db2769dcd0ab8dff7b9b6a6 (patch)
treede60e045af0a63b31141a3efd7ce1cda34644c75
parent814ac2230b594cce3b871588804dd92f4a187e7e (diff)
gfree -> delete since it was new'ed
CID #16786
-rw-r--r--poppler/JBIG2Stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index e5e9f17d..0695dc5d 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -2290,7 +2290,7 @@ void JBIG2Stream::readTextRegionSeg(Guint segNum, GBool imm,
codeTableError:
error(errSyntaxError, curStr->getPos(), "Missing code table in JBIG2 text region");
- gfree(codeTables);
+ delete codeTables;
gfree(syms);
return;