Commit Diff


commit - 44e372bb31407f896a75d921cf97a29b4d84a4d8
commit + c24f22a36bb986287f2b53116dff6479c434bc7d
blob - 463f92955513bf9f3ce27b2319795f8770831e11
blob + d0c63db313a62716f0c4530ad28887e40a13e371
--- dmenu.c
+++ dmenu.c
@@ -280,8 +280,6 @@ initfont(const char *fontstr) {
 	if(!fontstr || fontstr[0] == '\0')
 		eprint("error, cannot load font: '%s'\n", fontstr);
 	missing = NULL;
-	if(dc.font.set)
-		XFreeFontSet(dpy, dc.font.set);
 	dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
 	if(missing)
 		XFreeStringList(missing);