diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-01-11 22:22:06 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-01-11 22:30:59 +0100 |
commit | be1ed0692b49bc86ce512edc837fefc601d42443 (patch) | |
tree | 4850dc9af836113aacbe27f30b10e2e03beec9fb /apps/pdfclean.c | |
parent | 0e72a704c45d58faa75fa61a87f07c6f2207cd47 (diff) | |
download | mupdf-be1ed0692b49bc86ce512edc837fefc601d42443.tar.xz |
Set default values for alloc context and max store size if none are given.
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r-- | apps/pdfclean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c index 2e7aa732..ed149268 100644 --- a/apps/pdfclean.c +++ b/apps/pdfclean.c @@ -768,7 +768,7 @@ int main(int argc, char **argv) if (argc - fz_optind > 0) subset = 1; - ctx = fz_new_context(&fz_alloc_default, 256<<20); + ctx = fz_new_context(NULL, 0); if (!ctx) { fprintf(stderr, "cannot initialise context\n"); |