Initialize bad_indices on hb-subset (#775)

This commit is contained in:
Ebrahim Byagowi 2018-02-11 13:15:44 +03:30 committed by GitHub
parent 5845e5ca3b
commit c8d4c2e32f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,7 @@ _populate_gids_to_retain (hb_face_t *face,
cmap.init (face);
hb_prealloced_array_t<unsigned int> bad_indices;
bad_indices.init ();
old_gids.alloc (codepoints.len);
bool has_zero = false;