diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc index 7f4448bf6..95d4aeb99 100644 --- a/src/hb-subset-plan.cc +++ b/src/hb-subset-plan.cc @@ -76,6 +76,7 @@ _populate_gids_to_retain (hb_face_t *face, cmap.init (face); hb_prealloced_array_t bad_indices; + bad_indices.init (); old_gids.alloc (codepoints.len); bool has_zero = false;