Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pdf/xpdf/PDFDoc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/xpdf/PDFDoc.cc b/pdf/xpdf/PDFDoc.cc
index 29abba0..683e4d2 100644
--- a/pdf/xpdf/PDFDoc.cc
+++ b/pdf/xpdf/PDFDoc.cc
@@ -187,6 +187,7 @@ void PDFDoc::displayPage(OutputDev *out, int page, double zoom,
if (doLinks) {
if (links) {
delete links;
+ links = NULL;
}
getLinks(p);
p->display(out, zoom, rotate, links, catalog);