summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-write.c')
-rw-r--r--source/pdf/pdf-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c
index 078719a6..32143c10 100644
--- a/source/pdf/pdf-write.c
+++ b/source/pdf/pdf-write.c
@@ -2553,7 +2553,7 @@ static void sanitise(pdf_document *doc)
pdf_clean_page_contents(doc, page, NULL);
- pdf_free_page(doc, page);
+ pdf_drop_page(doc, page);
}
}