[poppler] Branch 'poppler-0.12' - poppler/PSOutputDev.cc

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


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

New commits:
commit 4fb3e9c090bd973c7d9123f8c258c7925166f078
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