[MPlayer-cvslog] r26741 - trunk/libass/ass_fontconfig.c

eugeni subversion at mplayerhq.hu
Sun May 11 21:49:57 CEST 2008


Author: eugeni
Date: Sun May 11 21:49:57 2008
New Revision: 26741

Log:
Fix possible free of unallocated memory.


Modified:
   trunk/libass/ass_fontconfig.c

Modified: trunk/libass/ass_fontconfig.c
==============================================================================
--- trunk/libass/ass_fontconfig.c	(original)
+++ trunk/libass/ass_fontconfig.c	Sun May 11 21:49:57 2008
@@ -75,7 +75,7 @@ static char* _select_font(fc_instance_t*
 {
 	FcBool rc;
 	FcResult result;
-	FcPattern *pat = 0, *rpat;
+	FcPattern *pat = 0, *rpat = 0;
 	int r_index, r_slant, r_weight;
 	FcChar8 *r_family, *r_style, *r_file, *r_fullname;
 	FcBool r_outline, r_embolden;



More information about the MPlayer-cvslog mailing list