aboutsummaryrefslogtreecommitdiffhomepage
path: root/libass/ass_bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_bitmap.c')
-rw-r--r--libass/ass_bitmap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c
index d8e4f368b4..df98f5a733 100644
--- a/libass/ass_bitmap.c
+++ b/libass/ass_bitmap.c
@@ -94,6 +94,12 @@ ass_synth_priv_t* ass_synth_init()
void ass_synth_done(ass_synth_priv_t* priv)
{
+ if (priv->tmp)
+ free(priv->tmp);
+ if (priv->g)
+ free(priv->g);
+ if (priv->gt2)
+ free(priv->gt2);
free(priv);
}