diff --git a/util/options.hh b/util/options.hh index d134f7ac4..e9fca381c 100644 --- a/util/options.hh +++ b/util/options.hh @@ -384,6 +384,8 @@ struct shape_options_t : option_group_t { if (error) *error = "all shapers failed while shaping fragment."; + hb_buffer_destroy (reconstruction); + hb_buffer_destroy (fragment); return false; } hb_buffer_append (reconstruction, fragment, 0, -1);