summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 820dfd9cad..923f4b192c 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -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);