diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-01-05 14:21:46 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-05 14:47:37 +0100 |
commit | 041a2c827efbf2ed0931426129e38aef9412177f (patch) | |
tree | 0cd5e492fddb901a52825ce7d7e7382ff50b3f67 /source/pdf/pdf-page.c | |
parent | d521de5ffad2dcc6c151e25373dd8a26a84440eb (diff) | |
download | mupdf-041a2c827efbf2ed0931426129e38aef9412177f.tar.xz |
Separate pdf_drop_annots (that drops lists) and fz_drop_annot.
Diffstat (limited to 'source/pdf/pdf-page.c')
-rw-r--r-- | source/pdf/pdf-page.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/pdf/pdf-page.c b/source/pdf/pdf-page.c index d763b8c8..dcb0add4 100644 --- a/source/pdf/pdf-page.c +++ b/source/pdf/pdf-page.c @@ -405,11 +405,11 @@ pdf_drop_page_imp(fz_context *ctx, pdf_page *page) if (page->links) fz_drop_link(ctx, page->links); if (page->annots) - pdf_drop_annot(ctx, page->annots); + pdf_drop_annots(ctx, page->annots); if (page->deleted_annots) - pdf_drop_annot(ctx, page->deleted_annots); + pdf_drop_annots(ctx, page->deleted_annots); if (page->tmp_annots) - pdf_drop_annot(ctx, page->tmp_annots); + pdf_drop_annots(ctx, page->tmp_annots); /* doc->focus, when not NULL, refers to one of * the annotations and must be NULLed when the * annotations are destroyed. doc->focus_obj |