summaryrefslogtreecommitdiff
path: root/apps/xpsdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xpsdraw.c')
-rw-r--r--apps/xpsdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/xpsdraw.c b/apps/xpsdraw.c
index 19cf600a..c91e8702 100644
--- a/apps/xpsdraw.c
+++ b/apps/xpsdraw.c
@@ -314,7 +314,7 @@ int main(int argc, char **argv)
if (accelerate)
fz_accelerate();
- ctx = fz_new_context();
+ ctx = fz_new_context(&fz_alloc_default);
if (ctx == NULL)
{
fprintf(stderr, "failed to initialise context");