summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunghyun kim <scholb.kim@samsung.com>2020-01-28 16:37:19 +0900
committerSunghyun kim <scholb.kim@samsung.com>2020-01-29 10:47:06 +0900
commitd23546db938ebc6740f5b106d78124b9c0e86a57 (patch)
treea16fbf1c22db9587dca2afc497c2bf710873f06f
parent09169e90d07707dd089c2f24644c383ff4630337 (diff)
downloadcairo-tizen_5.5_wearable_hotfix.tar.gz
cairo-tizen_5.5_wearable_hotfix.tar.bz2
cairo-tizen_5.5_wearable_hotfix.zip
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 fa33d63e4..17e33ae50 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);