[glyf] Use a malloc instead of calloc

This commit is contained in:
Behdad Esfahbod 2022-11-22 14:54:55 -07:00
parent 024aa81805
commit 04c525019c
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ struct SimpleGlyph
if (!no_hinting)
total_len += len_instrs;
char *p = (char *) hb_calloc (total_len, sizeof (char));
char *p = (char *) hb_malloc (total_len);
if (unlikely (!p)) return false;
const char *src = bytes.arrayZ + GlyphHeader::static_size;