summaryrefslogtreecommitdiff
path: root/xps/xpscolor.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xpscolor.c')
-rw-r--r--xps/xpscolor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xpscolor.c b/xps/xpscolor.c
index 513e7aab..bb2f225f 100644
--- a/xps/xpscolor.c
+++ b/xps/xpscolor.c
@@ -191,7 +191,7 @@ xps_read_icc_colorspace(xps_context *ctx, char *base_uri, char *profilename)
xps_free_part(ctx, part);
/* Add colorspace to xps color cache. */
- xps_hash_insert(ctx, ctx->colorspace_table, xps_strdup(ctx, partname), space);
+ xps_hash_insert(ctx, ctx->colorspace_table, fz_strdup(partname), space);
}
return space;