Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/pdf/ev-poppler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'backend/pdf/ev-poppler.cc')
-rw-r--r--backend/pdf/ev-poppler.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index bb4d5c4..1fa2354 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;
}