]> Dogcows Code - chaz/openbox/commitdiff
don't destroy font patterns, i think this is a double free
authorDana Jansens <danakj@orodu.net>
Sat, 28 Jun 2003 17:29:23 +0000 (17:29 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 28 Jun 2003 17:29:23 +0000 (17:29 +0000)
render/font.c

index 922bdb7ea7ecf96adf19c1d93858e9468224bb5a..066f4771e4dbedba32fcf0577e7cfc8494f5c39a 100644 (file)
@@ -57,7 +57,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
         return NULL;
 
     match = XftFontMatch(RrDisplay(inst), RrScreen(inst), pat, &res);
-    FcPatternDestroy(pat);
     if (!match)
         return NULL;
 
This page took 0.021385 seconds and 4 git commands to generate.