comparison libass/ass_bitmap.c @ 19962:c76d6a7332e8

Free memory in ass_synth_done().
author eugeni
date Sun, 24 Sep 2006 15:50:31 +0000
parents 5f268ded7f6a
children 70352570e9ae
comparison
equal deleted inserted replaced
19961:9f011e6892e8 19962:c76d6a7332e8
92 return priv; 92 return priv;
93 } 93 }
94 94
95 void ass_synth_done(ass_synth_priv_t* priv) 95 void ass_synth_done(ass_synth_priv_t* priv)
96 { 96 {
97 if (priv->tmp)
98 free(priv->tmp);
99 if (priv->g)
100 free(priv->g);
101 if (priv->gt2)
102 free(priv->gt2);
97 free(priv); 103 free(priv);
98 } 104 }
99 105
100 static bitmap_t* alloc_bitmap(int w, int h) 106 static bitmap_t* alloc_bitmap(int w, int h)
101 { 107 {