X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fpdf%2Fev-poppler.cc;h=1fa235431dd7f05c92c07b7b416f6f5fddb75438;hb=deb7ba40b7706ce7018c4effa42cfc886c251cce;hp=bb4d5c4c1ca019d78225cc6c1d9b709ec2dead32;hpb=850816958d117bbd0b41e572d78ecc1c1c415659;p=evince.git diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index bb4d5c4c..1fa23543 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -1060,8 +1060,11 @@ build_tree (PdfDocument *pdf_document, break; } - if (!link) { + if (!link || strlen (ev_link_get_title (link)) <= 0) { poppler_action_free (action); + if (link) + g_object_unref (link); + continue; }