From aa7668835afffd5a2a496a60ed6edb672f5af1a7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 21 Sep 2011 15:01:36 +0200 Subject: Rename malloc functions for arrays (fz_calloc and fz_realloc). --- 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 0fd49010..fc391b58 100644 --- a/apps/pdfshow.c +++ b/apps/pdfshow.c @@ -214,7 +214,7 @@ int main(int argc, char **argv) filename = argv[fz_optind++]; - ctx = fz_new_context(&fz_alloc_default); + ctx = fz_new_context(); if (ctx == NULL) die(fz_error_note(1, "failed to initialise context")); -- cgit v1.2.3