diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2011-10-04 19:51:51 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2011-10-04 19:51:51 +0100 |
commit | 1cc3bf432a6d94e6f8411b55ee0f591d098f2062 (patch) | |
tree | ed1d2b0a91f9357b7a7beb1ee730ad62e944c9cd /apps/pdfshow.c | |
parent | d208be26537db558edb70236ae517cea31b7ebab (diff) | |
download | mupdf-1cc3bf432a6d94e6f8411b55ee0f591d098f2062.tar.xz |
Reintroduce alloc context section.
This was removed during a previous commit to make the editing easier.
Now added back in.
Diffstat (limited to 'apps/pdfshow.c')
-rw-r--r-- | apps/pdfshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfshow.c b/apps/pdfshow.c index 21c3a8e1..fee20d2f 100644 --- a/apps/pdfshow.c +++ b/apps/pdfshow.c @@ -229,7 +229,7 @@ int main(int argc, char **argv) filename = 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")); |