changeset 20201:4a21653e69d5

Free FT_Stroker during libass deinitialization.
author eugeni
date Sat, 14 Oct 2006 14:35:33 +0000
parents a03b0bc5b14c
children 9b67ed06f721
files libass/ass_render.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Sat Oct 14 08:37:29 2006 +0000
+++ b/libass/ass_render.c	Sat Oct 14 14:35:33 2006 +0000
@@ -275,6 +275,10 @@
 {
 	ass_face_cache_done();
 	ass_glyph_cache_done();
+	if (render_context.stroker) {
+		FT_Stroker_Done(render_context.stroker);
+		render_context.stroker = 0;
+	}
 	if (priv && priv->library) FT_Done_FreeType(priv->library);
 	if (priv && priv->fontconfig_priv) fontconfig_done(priv->fontconfig_priv);
 	if (priv && priv->synth_priv) ass_synth_done(priv->synth_priv);