From c8d4c2e32f1cea610a9c91dc6b0c32e9ffe84f20 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sun, 11 Feb 2018 13:15:44 +0330 Subject: [PATCH] Initialize bad_indices on hb-subset (#775) --- src/hb-subset-plan.cc | 1 + 1 file changed, 1 insertion(+) 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;