1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

Fix ass_clear_fonts not deallocating fontdata.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25649 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2008-01-08 12:45:41 +00:00
parent fe86c8557a
commit e779ddad56

View File

@ -107,4 +107,7 @@ void ass_clear_fonts(ass_library_t* priv)
free(priv->fontdata[i].name);
free(priv->fontdata[i].data);
}
free(priv->fontdata);
priv->fontdata = NULL;
priv->num_fontdata = 0;
}