Blame SOURCES/texlive-20200327-poppler-0.90.patch

0067d1
diff -up texlive-base-20200327/source/texk/web2c/pdftexdir/pdftoepdf.cc.poppler090 texlive-base-20200327/source/texk/web2c/pdftexdir/pdftoepdf.cc
0067d1
--- texlive-base-20200327/source/texk/web2c/pdftexdir/pdftoepdf.cc.poppler090	2020-07-14 13:13:31.620607263 -0400
0067d1
+++ texlive-base-20200327/source/texk/web2c/pdftexdir/pdftoepdf.cc	2020-07-14 13:16:01.530248309 -0400
0067d1
@@ -766,7 +766,7 @@ read_pdf_info(char *image_name, char *pa
0067d1
     if (page_name) {
0067d1
         // get page by name
0067d1
         GString name(page_name);
0067d1
-        LinkDest *link = pdf_doc->doc->findDest(&name);
0067d1
+        std::unique_ptr<LinkDest> link = pdf_doc->doc->findDest(&name);
0067d1
         if (link == 0 || !link->isOk())
0067d1
             pdftex_fail("PDF inclusion: invalid destination <%s>", page_name);
0067d1
         Ref ref = link->getPageRef();
0067d1
@@ -774,7 +774,6 @@ read_pdf_info(char *image_name, char *pa
0067d1
         if (page_num == 0)
0067d1
             pdftex_fail("PDF inclusion: destination is not a page <%s>",
0067d1
                         page_name);
0067d1
-        delete link;
0067d1
     } else {
0067d1
         // get page by number
0067d1
         if (page_num <= 0 || page_num > epdf_num_pages)