diff options
Diffstat (limited to 'xps/xps_path.c')
-rw-r--r-- | xps/xps_path.c | 2 |
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) |