diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index 66996eedf..5f8a6f1e7 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -605,6 +605,7 @@ struct hb_serialize_context_t } template + HB_NODISCARD __attribute__((malloc)) Type *allocate_size (size_t size, bool clear = true) { if (unlikely (in_error ())) return nullptr;