summaryrefslogtreecommitdiff
path: root/apps/pdfclean.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r--apps/pdfclean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index 4b76afa2..c77139ff 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -739,7 +739,7 @@ int main(int argc, char **argv)
if (argc - fz_optind > 0)
subset = 1;
- ctx = fz_new_context();
+ ctx = fz_new_context(&fz_alloc_default);
if (ctx == NULL)
die(fz_error_note(1, "failed to initialise context"));