mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
Fix memory leak in hb_coretext_get_glyph_name
This commit is contained in:
1 parent
718542ef7a
commit
ca3cd48fa3
1 file changed
+3
@@ -415,6 +415,9 @@ hb_coretext_get_glyph_name (hb_font_t *font,
|
||||
(UInt8 *) name, size, &len);
|
||||
|
||||
name[len] = '\0';
|
||||
|
||||
CFRelease (cf_name);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user