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/pdfshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/pdfshow.c') diff --git a/apps/pdfshow.c b/apps/pdfshow.c index 300da9ca..ec2fedbd 100644 --- a/apps/pdfshow.c +++ b/apps/pdfshow.c @@ -198,7 +198,7 @@ int main(int argc, char **argv) filename = argv[fz_optind++]; - 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