diff options
-rw-r--r-- | pdf/xpdf/PDFDoc.cc | 1 |
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); |