]> granicus.if.org Git - libass/commitdiff
Free memory in ass_synth_done().
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 24 Sep 2006 15:50:31 +0000 (15:50 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 24 Sep 2006 15:50:31 +0000 (15:50 +0000)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19968 b3059339-0415-0410-9bf9-f77b7e298cf2

libass/ass_bitmap.c

index d8e4f368b4ee40c7a12048d7ed57e6ffb56c87b0..df98f5a733fc7d9db8f3ef47a8db4c54d679e4b3 100644 (file)
@@ -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);
 }