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:
henry 2003-01-30 18:43:08 +00:00
parent 49a3af8585
commit cbe477614e
1 changed files with 2 additions and 0 deletions

View File

@ -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);