return to;
simple_copy:
+ if (otf_gstring.glyphs)
+ free (otf_gstring.glyphs);
#endif /* HAVE_OTF */
if (out->allocated < out->used + len)
return -2;
memcpy ((MGlyph *)out->glyphs + out->used, (MGlyph *) in->glyphs + from,
sizeof (MGlyph) * len);
out->used += len;
- if (otf_gstring.glyphs)
- free (otf_gstring.glyphs);
return to;
}