summaryrefslogtreecommitdiff
path: root/xps/xps_path.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-09-21 15:01:36 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-09-21 15:01:36 +0200
commitaa7668835afffd5a2a496a60ed6edb672f5af1a7 (patch)
tree92bc58eb4ee9d4f3b30f9b9919aa148b1e330471 /xps/xps_path.c
parent69ed4a8f4dbfac7f2f1de925e34807e4fee3b27c (diff)
downloadmupdf-aa7668835afffd5a2a496a60ed6edb672f5af1a7.tar.xz
Rename malloc functions for arrays (fz_calloc and fz_realloc).
Diffstat (limited to 'xps/xps_path.c')
-rw-r--r--xps/xps_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xps_path.c b/xps/xps_path.c
index 89d88511..28548c56 100644
--- a/xps/xps_path.c
+++ b/xps/xps_path.c
@@ -234,7 +234,7 @@ xps_parse_abbreviated_geometry(xps_context *ctx, char *geom, int *fill_rule)
path = fz_new_path(ctx->ctx);
- args = fz_calloc(ctx->ctx, strlen(geom) + 1, sizeof(char*));
+ args = fz_malloc_array(ctx->ctx, strlen(geom) + 1, sizeof(char*));
pargs = args;
while (*s)