sent-font

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

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

free all fonts correctly

Diffstat:
drw.c | 1-
sent.c | 2++
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drw.c b/drw.c @@ -87,7 +87,6 @@ drw_resize(Drw *drw, unsigned int w, unsigned int h) { void drw_free(Drw *drw) { - drw_fontset_free(drw->fonts); XFreePixmap(drw->dpy, drw->drawable); XFreeGC(drw->dpy, drw->gc); free(drw); diff --git a/sent.c b/sent.c @@ -334,6 +334,8 @@ void cleanup() { unsigned int i; + for (i = 0; i < NUMFONTSCALES; i++) + drw_fontset_free(fonts[i]); drw_scm_free(sc); drw_free(d);