mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 01:54:21 +01:00
Fix leak
From recent work.
This commit is contained in:
1 parent
24fe2be9c1
commit
b5327faf99
1 file changed
+2
@@ -355,6 +355,8 @@ arabic_fallback_plan_destroy (arabic_fallback_plan_t *fallback_plan)
|
||||
for (unsigned int i = 0; i < fallback_plan->num_lookups; i++)
|
||||
if (fallback_plan->lookup_array[i])
|
||||
{
|
||||
if (fallback_plan->accel_array[i])
|
||||
fallback_plan->accel_array[i]->fini ();
|
||||
hb_free (fallback_plan->accel_array[i]);
|
||||
if (fallback_plan->free_lookups)
|
||||
hb_free (fallback_plan->lookup_array[i]);
|
||||
|
||||
Reference in new issue
Block a user