From 0a678a9233afb0a6d9143dd10557376c5b796f77 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 6 Feb 2025 01:02:44 +0000 Subject: [PATCH] Fix leak --- src/hb-ot-layout-gsubgpos.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index 65de6e3b1..ad2d57293 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -4932,6 +4932,7 @@ struct GSUBGPOS if (unlikely (!accels[lookup_index].cmpexch (nullptr, accel))) { + accel->fini (); hb_free (accel); goto retry; }