[MPlayer-cvslog] r25880 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sun Jan 27 16:15:55 CET 2008


Author: reimar
Date: Sun Jan 27 16:15:55 2008
New Revision: 25880

Log:
Make sure sub_font is freed.
Patch by Guillaume LECERF (foxcore gmail com).


Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sun Jan 27 16:15:55 2008
@@ -704,6 +704,8 @@ void exit_player_with_rc(const char* how
 
 #ifdef HAVE_FREETYPE
   current_module="uninit_font";
+  if (sub_font && sub_font != vo_font) free_font_desc(sub_font);
+  sub_font = NULL;
   if (vo_font) free_font_desc(vo_font);
   vo_font = NULL;
   done_freetype();



More information about the MPlayer-cvslog mailing list