From 8606d72cedf0199e2cf03e421488f5b88896cecf Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Tue, 28 Apr 2015 00:27:43 +0200 Subject: [PATCH] fonts cleanup --- sent.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sent.c b/sent.c index 6da23e8..39850c0 100644 --- a/sent.c +++ b/sent.c @@ -329,6 +329,10 @@ void getfontsize(char *str, unsigned int *width, unsigned int *height) void cleanup() { + size_t i; + + for (i = 0; i < NUMFONTSCALES; i++) + drw_fontset_free(fonts[i]); drw_scm_free(sc); drw_free(d);