diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-02-02 16:18:13 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-02-02 17:21:20 +0000 |
commit | bb1e3c973526e66024e1a3260255368034cb2008 (patch) | |
tree | 9102d5d22818788e88c6407a0e4a358dfa7011b5 /apps | |
parent | 4ab5924753d32b5eaeb80138c6626057f61b516f (diff) | |
download | mupdf-bb1e3c973526e66024e1a3260255368034cb2008.tar.xz |
Support remote links in XPS documents.
Update xps path handling to cope with URLs.
Fix premature freeing of links.
Spot remote URLs and use appropriate link type.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfapp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index aa529220..20e67c62 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -375,6 +375,7 @@ static void pdfapp_loadpage_xps(pdfapp_t *app) fz_free_device(mdev); app->page_links = page->links; + page->links = NULL; xps_free_page(app->xps, page); } |