a more proper place to destroy freetype