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 09:31:14 (GMT)
commit41c97cda9586f3e1a68c8f0750969452a9ac5821 (patch)
tree493140af7a6b504766b8ba589295c39968caa60b
parent9fe8ce93e843b8fcc0d9169067c337e90692f81c (diff)
downloadcairo-accepted/tizen_4.0_unified.zip
cairo-accepted/tizen_4.0_unified.tar.gz
cairo-accepted/tizen_4.0_unified.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);