From: Markus Teich Date: Mon, 27 Apr 2015 22:27:43 +0000 (+0200) Subject: fonts cleanup X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=8606d72cedf0199e2cf03e421488f5b88896cecf;p=sent.git fonts cleanup --- 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);