summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-page.c')
-rw-r--r--source/pdf/pdf-page.c6
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