mirror of https://github.com/mpv-player/mpv
another sanity check against vo_aa font hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9173 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
49a3af8585
commit
cbe477614e
|
@ -867,6 +867,8 @@ void free_font_desc(font_desc_t *desc)
|
||||||
|
|
||||||
if (!desc) return;
|
if (!desc) return;
|
||||||
|
|
||||||
|
if (!desc->dynamic) return; // some vo_aa crap, better leaking than crashing
|
||||||
|
|
||||||
if (desc->name) free(desc->name);
|
if (desc->name) free(desc->name);
|
||||||
if (desc->fpath) free(desc->fpath);
|
if (desc->fpath) free(desc->fpath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue