]> Dogcows Code - chaz/openbox/commitdiff
dont destroy the match pattern, it seems that Xft holds onto the pointer
authorDana Jansens <danakj@orodu.net>
Thu, 26 Jun 2003 17:51:52 +0000 (17:51 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 26 Jun 2003 17:51:52 +0000 (17:51 +0000)
render/font.c

index 2fce1dd44a15afb21a09e5a05b60c3f032ee70b9..922bdb7ea7ecf96adf19c1d93858e9468224bb5a 100644 (file)
@@ -79,7 +79,6 @@ static RrFont *openfont(const RrInstance *inst, char *fontstring)
     out->tint = tint;
 
     font = XftFontOpenPattern(RrDisplay(inst), match);
-    FcPatternDestroy(match);
     if (!font) {
         g_free(out);
         return NULL;
This page took 0.022841 seconds and 4 git commands to generate.