sent-font

sent: font engine test
git clone git://git.codemadness.org/sent-font
Log | Files | Refs | LICENSE

commit d302f2efe13205f45f15f1e92113a44c55b0a0cd
parent f6455efd52cdcfcb25030a8f3644162e8b861573
Author: Markus Teich <markus.teich@stusta.mhn.de>
Date:   Wed, 11 Nov 2015 18:53:54 +0100

free temporary fontstr arrays

Diffstat:
sent.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sent.c b/sent.c @@ -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)