From: Chong Yidong Date: Wed, 3 Dec 2008 04:57:58 +0000 (+0000) Subject: (ftfont_resolve_generic_family): Avoid using uninitialized var. X-Git-Tag: emacs-pretest-23.0.90~1327 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf39cdd81840eff8448c47b8207cd20b845eda37;p=emacs.git (ftfont_resolve_generic_family): Avoid using uninitialized var. --- diff --git a/src/ftfont.c b/src/ftfont.c index 0ae10f1004c..c4463fa5c55 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -247,8 +247,8 @@ ftfont_resolve_generic_family (family, pattern) else family = Qnil; XSETCDR (slot, family); - err: if (match) FcPatternDestroy (match); + err: if (pattern) FcPatternDestroy (pattern); return family; }