]> Dogcows Code - chaz/openbox/commitdiff
remove debug print
authorDana Jansens <danakj@orodu.net>
Sat, 28 Jun 2003 19:06:03 +0000 (19:06 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 28 Jun 2003 19:06:03 +0000 (19:06 +0000)
render/font.c

index 066f4771e4dbedba32fcf0577e7cfc8494f5c39a..9c42fcbcf4b715ee47b3947b11ddb0cc665e15f2 100644 (file)
@@ -65,7 +65,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
 
     if (FcPatternGetBool(match, OB_SHADOW, 0, &out->shadow) != FcResultMatch)
         out->shadow = FALSE;
-    g_message("shadow %d", out->shadow);
 
     if (FcPatternGetInteger(match, OB_SHADOW_OFFSET, 0, &out->offset) !=
         FcResultMatch)
@@ -79,6 +78,7 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
 
     font = XftFontOpenPattern(RrDisplay(inst), match);
     if (!font) {
+        FcPatternDestroy(match);
         g_free(out);
         return NULL;
     } else
This page took 0.026734 seconds and 4 git commands to generate.