]> granicus.if.org Git - libass/commitdiff
Deallocate string.
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 3 May 2007 19:33:35 +0000 (19:33 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 3 May 2007 19:33:35 +0000 (19:33 +0000)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23231 b3059339-0415-0410-9bf9-f77b7e298cf2

libass/ass_render.c

index 820dfd9cad232d798d5f7476703077c2583c40f2..923f4b192c53d28289de84a311cc65bfa14ba109 100644 (file)
@@ -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);