[subset-cff] Tweak another storage allocation

pull/3501/head
Behdad Esfahbod 2 years ago
parent 85e8f2b53f
commit 1119e60296
  1. 2
      src/hb-subset-cff-common.hh

@ -486,7 +486,7 @@ struct subr_subset_param_t
else
{
if (!parsed_str->is_parsed ())
parsed_str->alloc (env.str_ref.total_size () / 2);
parsed_str->alloc (env.str_ref.total_size ());
current_parsed_str = parsed_str;
}
}

Loading…
Cancel
Save