[face-builder] Don't zero allocation
We overwrite it.
diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh
index 13570a4..04f144a 100644
--- a/src/hb-open-file.hh
+++ b/src/hb-open-file.hh
@@ -131,7 +131,7 @@
sfnt_version = sfnt_tag;
/* Take space for numTables, searchRange, entrySelector, RangeShift
* and the TableRecords themselves. */
- unsigned num_items = it.len ();
+ unsigned num_items = hb_len (it);
if (unlikely (!tables.serialize (c, num_items))) return_trace (false);
const char *dir_end = (const char *) c->head;
@@ -145,7 +145,7 @@
unsigned len = blob->length;
/* Allocate room for the table and copy it. */
- char *start = (char *) c->allocate_size<void> (len);
+ char *start = (char *) c->allocate_size<void> (len, false);
if (unlikely (!start)) return false;
TableRecord &rec = tables.arrayZ[i];