summaryrefslogtreecommitdiff
path: root/apps/pdfextract.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfextract.c')
-rw-r--r--apps/pdfextract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfextract.c b/apps/pdfextract.c
index 5aa5fa09..bf0a74ed 100644
--- a/apps/pdfextract.c
+++ b/apps/pdfextract.c
@@ -207,7 +207,7 @@ int main(int argc, char **argv)
infile = argv[fz_optind++];
- ctx = fz_new_context();
+ ctx = fz_new_context(&fz_alloc_default);
if (ctx == NULL)
die(fz_error_note(1, "failed to initialise context"));