summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2009-10-19 23:33:58 +0200
committerAlbert Astals Cid <aacid@kde.org>2009-10-19 23:35:07 +0200
commit44462e0ca39392e5629020226b901e4026089b46 (patch)
treeb08613e749fb5a651b9550a7955bd96cea7fb818
parentd701aaa9eaa62567210070129f5feffe24bf1936 (diff)
fix memory leak
-rw-r--r--poppler/PSOutputDev.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 2529b97f..b784c00a 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -3163,6 +3163,7 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) {
} else {
writePSFmt("%%Page: {0:t} {1:d}\n", filteredString, seqPage);
}
+ delete filteredString;
} else {
writePSFmt("%%Page: {0:d} {1:d}\n", pageNum, seqPage);
}