Freeing glyph

Fixes #446