summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2010-09-21 17:50:25 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2010-09-21 17:50:25 (GMT)
commitc6a091512745771894b54a71613fd6b5ca1adcb3 (patch)
treef44764de7bbc30e7aa7f012ecf5e83fa83f1695c
parent9b6ddb68b80ef19cd2615900bd24da76374003d9 (diff)
Fix memory leak
Found thanks to PDF provided by Joel Voss of Leviathan Security Group
-rw-r--r--poppler/Stream.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/Stream.cc b/poppler/Stream.cc
index 988f99a..0fb3884 100644
--- a/poppler/Stream.cc
+++ b/poppler/Stream.cc
@@ -599,6 +599,7 @@ GBool StreamPredictor::getNextLine() {
// last partial line
break;
}
+ delete[] rawCharLine;
return gFalse;
}
switch (curPred) {