summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-xref.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r--source/pdf/pdf-xref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c
index ccbe4cf6..9c9d2fde 100644
--- a/source/pdf/pdf-xref.c
+++ b/source/pdf/pdf-xref.c
@@ -1477,6 +1477,7 @@ pdf_drop_document_imp(fz_context *ctx, pdf_document *doc)
fz_free(ctx, doc->type3_fonts);
pdf_drop_ocg(ctx, doc);
+ pdf_drop_portfolio(ctx, doc);
pdf_empty_store(ctx, doc);