Initialize bad_indices on hb-subset (#775)

pull/776/head
Ebrahim Byagowi 7 years ago committed by GitHub
parent 5845e5ca3b
commit c8d4c2e32f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/hb-subset-plan.cc

@ -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;

Loading…
Cancel
Save