[serialize] One more attribute

This commit is contained in:
Behdad Esfahbod committed 2023-06-04 10:09:02 -06:00
1 parent 15048e50ec
commit e1715056fc
1 file changed
+1
+1
View File
@@ -605,6 +605,7 @@ struct hb_serialize_context_t
}
template <typename Type>
HB_NODISCARD __attribute__((malloc))
Type *allocate_size (size_t size, bool clear = true)
{
if (unlikely (in_error ())) return nullptr;