--- rxvt-unicode/src/rxvtfont.C 2010/12/30 18:19:38 1.172 +++ rxvt-unicode/src/rxvtfont.C 2011/01/10 10:36:16 1.174 @@ -1220,10 +1220,12 @@ for (;;) { - f = XftFontOpenPattern (disp, FcPatternDuplicate (match)); + p = FcPatternDuplicate (match); + f = XftFontOpenPattern (disp, p); if (!f) { + FcPatternDestroy (p); success = false; break; } @@ -1614,7 +1616,7 @@ push_font (new_font (buf, cs)); } else - rxvt_warn ("fontset element too long (>511 bytes), ignored."); + rxvt_warn ("fontset element too long (>511 bytes), ignored.\n"); desc = end + 1; }