# HG changeset patch # User eugeni # Date 1178220815 0 # Node ID 5ea241439d5a3990a15bf53d2b957c6385bd2889 # Parent c932f521344d14dc42e6845de97a75f43f55e415 Deallocate string. diff -r c932f521344d -r 5ea241439d5a libass/ass_render.c --- a/libass/ass_render.c Thu May 03 19:26:43 2007 +0000 +++ b/libass/ass_render.c Thu May 03 19:33:35 2007 +0000 @@ -544,6 +544,7 @@ 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);