The default font name is strduped, so don't test for default font name

(therefore leaking it) when cleaning up a conf struct.

ok okan@
This commit is contained in:
oga 2009-01-22 18:16:38 +00:00
parent 712f3f62c7
commit e239976078

View File

@ -502,8 +502,7 @@ conf_clear(struct conf *c)
free(mb); free(mb);
} }
if (c->DefaultFontName != NULL && if (c->DefaultFontName != NULL)
c->DefaultFontName != DEFAULTFONTNAME)
free(c->DefaultFontName); free(c->DefaultFontName);
} }