diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc index 4b4e77b4b..f138bd4f3 100644 --- a/src/hb-directwrite.cc +++ b/src/hb-directwrite.cc @@ -638,6 +638,9 @@ _hb_directwrite_shape (hb_shape_plan_t *shape_plan, hb_vector_t range_features; hb_vector_t range_char_counts; + // https://github.com/harfbuzz/harfbuzz/pull/5114 + // The data allocated by these two vectors are used by the above two, so they + // should remain alive as long as the above two are. hb_vector_t feature_records; hb_vector_t range_records; if (num_features)