diff --git a/src/OT/glyf/CompositeGlyph.hh b/src/OT/glyf/CompositeGlyph.hh index 057e68d69..4dc528c14 100644 --- a/src/OT/glyf/CompositeGlyph.hh +++ b/src/OT/glyf/CompositeGlyph.hh @@ -132,7 +132,7 @@ struct CompositeGlyphRecord contour_point_t trans; get_transformation (matrix, trans); points.alloc (points.length + 4); // For phantom points - if (unlikely (!points.resize (points.length + 1))) return false; + if (unlikely (!points.resize (points.length + 1, false))) return false; points.arrayZ[points.length - 1] = trans; return true; }