aboutsummaryrefslogtreecommitdiffhomepage
path: root/libass
diff options
context:
space:
mode:
authorGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-24 15:50:31 +0000
committerGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-24 15:50:31 +0000
commita88de953834d80ed171265fcb708cc7c83bc1489 (patch)
tree3ea6ddd42920ac371a54ca8e9af38661e2375913 /libass
parentbd40e0ea1d816f4388256972887f25f5fdd9889d (diff)
Free memory in ass_synth_done().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19968 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-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);
}