free temporary fontstr arrays

This commit is contained in:
Markus Teich 2015-11-11 18:53:54 +01:00
parent f6455efd52
commit d302f2efe1

4
sent.c
View File

@ -562,6 +562,10 @@ void xloadfonts()
}
fonts[i] = drw_fontset_create(d, (const char**)fstrs, LEN(fstrs));
}
for (j = 0; j < LEN(fontfallbacks); j++)
if (fstrs[j])
free(fstrs[j]);
}
void bpress(XEvent *e)