summaryrefslogtreecommitdiff
path: root/apps/pdfclean.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-10-04 19:51:51 +0100
committerRobin Watts <Robin.Watts@artifex.com>2011-10-04 19:51:51 +0100
commit1cc3bf432a6d94e6f8411b55ee0f591d098f2062 (patch)
treeed1d2b0a91f9357b7a7beb1ee730ad62e944c9cd /apps/pdfclean.c
parentd208be26537db558edb70236ae517cea31b7ebab (diff)
downloadmupdf-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/pdfclean.c')
-rw-r--r--apps/pdfclean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index 4b76afa2..c77139ff 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -739,7 +739,7 @@ int main(int argc, char **argv)
if (argc - fz_optind > 0)
subset = 1;
- ctx = fz_new_context();
+ ctx = fz_new_context(&fz_alloc_default);
if (ctx == NULL)
die(fz_error_note(1, "failed to initialise context"));