changeset 26709:38d1fdb388f9

Fix possible free of unallocated memory.
author eugeni
date Sun, 11 May 2008 19:49:57 +0000
parents 22f71ed7428b
children 605722f2c1b6
files libass/ass_fontconfig.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_fontconfig.c	Sun May 11 14:25:47 2008 +0000
+++ b/libass/ass_fontconfig.c	Sun May 11 19:49:57 2008 +0000
@@ -75,7 +75,7 @@
 {
 	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;