changeset 9172:8c2830239a14

another sanity check against vo_aa font hack
author henry
date Thu, 30 Jan 2003 18:43:08 +0000
parents 898e5270a46e
children eeca9a1043cd
files libvo/font_load_ft.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/font_load_ft.c	Thu Jan 30 09:15:09 2003 +0000
+++ b/libvo/font_load_ft.c	Thu Jan 30 18:43:08 2003 +0000
@@ -867,6 +867,8 @@
     
     if (!desc) return;
 
+    if (!desc->dynamic) return; // some vo_aa crap, better leaking than crashing
+
     if (desc->name) free(desc->name);
     if (desc->fpath) free(desc->fpath);