summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-09-19 23:31:36 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-09-20 09:52:45 +0300
commit3061e3859d603c56b322a6490ebe82db40475d83 (patch)
treef112df0e94180d7d91149e4b76b8337f236c9a6f /thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc
parent0e5b0c025ce3d4ad8082cbeb5394423854c2e25f (diff)
HarfBuzz: Update to version 3.0.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc')
-rw-r--r--thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc4
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