From be1ed0692b49bc86ce512edc837fefc601d42443 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 11 Jan 2012 22:22:06 +0100 Subject: Set default values for alloc context and max store size if none are given. --- apps/pdfclean.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/pdfclean.c') 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"); -- cgit v1.2.3