Fixed unchecked free in glyph.c (related to #1428)