[MPlayer-cvslog] r23231 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Thu May 3 21:33:36 CEST 2007


Author: eugeni
Date: Thu May  3 21:33:35 2007
New Revision: 23231

Log:
Deallocate string.


Modified:
   trunk/libass/ass_render.c

Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Thu May  3 21:33:35 2007
@@ -544,6 +544,7 @@ static void update_font(void)
 	desc.italic = val;
 
 	render_context.font = ass_font_new(priv->library, priv->ftlibrary, priv->fontconfig_priv, &desc);
+	free(desc.family);
 	
 	if (render_context.font)
 		change_font_size(render_context.font_size);



More information about the MPlayer-cvslog mailing list