*** empty log message ***
authorpcg <pcg>
Thu, 18 Dec 2003 04:27:36 +0000 (04:27 +0000)
committerpcg <pcg>
Thu, 18 Dec 2003 04:27:36 +0000 (04:27 +0000)
src/defaultfont.C

index 85ef39fa53eec9bb4471846c1198fa62a0512c18..7194c3be1fad0ad27b25efba51fa1c87c2050c75 100644 (file)
@@ -781,10 +781,11 @@ rxvt_font_xft::load (const rxvt_fontprop &prop)
 
   f = XftFontOpenPattern (DISPLAY, match);
 
-  FcPatternDestroy (match);
-
   if (!f)
-    return false;
+    {
+      FcPatternDestroy (match);
+      return false;
+    }
 
   FT_Face face = XftLockFace (f);