summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunghyun kim <scholb.kim@samsung.com>2020-01-28 07:37:19 (GMT)
committerSunghyun kim <scholb.kim@samsung.com>2020-01-29 01:47:06 (GMT)
commitd23546db938ebc6740f5b106d78124b9c0e86a57 (patch)
treea16fbf1c22db9587dca2afc497c2bf710873f06f
parent09169e90d07707dd089c2f24644c383ff4630337 (diff)
downloadcairo-d23546db938ebc6740f5b106d78124b9c0e86a57.zip
cairo-d23546db938ebc6740f5b106d78124b9c0e86a57.tar.gz
cairo-d23546db938ebc6740f5b106d78124b9c0e86a57.tar.bz2
https://bugs.freedesktop.org/show_bug.cgi?id=101547 Change-Id: I2b0ecb3ebe9d2ab2550dd74620c389686516ba7f
-rw-r--r--src/cairo-truetype-subset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-truetype-subset.c b/src/cairo-truetype-subset.c
index fa33d63..17e33ae 100644
--- a/src/cairo-truetype-subset.c
+++ b/src/cairo-truetype-subset.c
@@ -1275,7 +1275,7 @@ _cairo_truetype_reverse_cmap (cairo_scaled_font_t *scaled_font,
return CAIRO_INT_STATUS_UNSUPPORTED;
size = be16_to_cpu (map->length);
- map = malloc (size);
+ map = _cairo_malloc (size);
if (unlikely (map == NULL))
return _cairo_error (CAIRO_STATUS_NO_MEMORY);