diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-20 10:02:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 10:02:53 +0200 |
commit | 2f6abc1002bbb82ba0f4285076e880e20fad4388 (patch) | |
tree | 9eba4712d3e85919dc9dc5756dd6ef172b27a587 /thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc | |
parent | 89417ba75b59f26147218af8d08fced7152a80fa (diff) | |
parent | 3061e3859d603c56b322a6490ebe82db40475d83 (diff) |
Merge pull request #52859 from bruvzg/hb300
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc')
-rw-r--r-- | thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc b/thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc index 1f244f940c..1f8c1410fc 100644 --- a/thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc +++ b/thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc @@ -259,7 +259,7 @@ struct arabic_shape_plan_t void * data_create_arabic (const hb_ot_shape_plan_t *plan) { - arabic_shape_plan_t *arabic_plan = (arabic_shape_plan_t *) calloc (1, sizeof (arabic_shape_plan_t)); + arabic_shape_plan_t *arabic_plan = (arabic_shape_plan_t *) hb_calloc (1, sizeof (arabic_shape_plan_t)); if (unlikely (!arabic_plan)) return nullptr; @@ -282,7 +282,7 @@ data_destroy_arabic (void *data) arabic_fallback_plan_destroy (arabic_plan->fallback_plan); - free (data); + hb_free (data); } static void |