[MPlayer-cvslog] r28787 - trunk/libass/ass_bitmap.c

eugeni subversion at mplayerhq.hu
Sun Mar 1 20:31:29 CET 2009


Author: eugeni
Date: Sun Mar  1 20:31:29 2009
New Revision: 28787

Log:
Fix a memory leak.

Modified:
   trunk/libass/ass_bitmap.c

Modified: trunk/libass/ass_bitmap.c
==============================================================================
--- trunk/libass/ass_bitmap.c	Sun Mar  1 20:11:46 2009	(r28786)
+++ trunk/libass/ass_bitmap.c	Sun Mar  1 20:31:29 2009	(r28787)
@@ -214,6 +214,7 @@ static bitmap_t* glyph_to_bitmap_interna
 		dst += bm->w;
 	}
 
+	FT_Done_Glyph(glyph);
 	return bm;
 }
 



More information about the MPlayer-cvslog mailing list