mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 19:30:44 +00:00
Free memory in ass_synth_done().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19968 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bd40e0ea1d
commit
a88de95383
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user