util/options.hh | 2 ++ 1 file changed, 2 insertions(+) New commits: commit a88e2a73f34067381a81577c3f60bc5c2a6f2eea Author: Behdad Esfahbod <beh...@behdad.org> Date: Mon Aug 14 14:49:21 2017 -0700
[util] Fix leaks diff --git a/util/options.hh b/util/options.hh index d134f7ac..e9fca381 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); _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz