[poppler] poppler/PSOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Oct 19 14:35:19 PDT 2009


 poppler/PSOutputDev.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 44462e0ca39392e5629020226b901e4026089b46
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Oct 19 23:33:58 2009 +0200

    fix memory leak

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 2529b97..b784c00 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);
     }


More information about the poppler mailing list