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; }