fonts cleanup - sent - simple plaintext presentation tool | |
git clone git://git.suckless.org/sent | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8606d72cedf0199e2cf03e421488f5b88896cecf | |
parent e9261114fe797102a85852b0dc4ab62f3b208520 | |
Author: Markus Teich <[email protected]> | |
Date: Tue, 28 Apr 2015 00:27:43 +0200 | |
fonts cleanup | |
Diffstat: | |
M sent.c | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/sent.c b/sent.c | |
@@ -329,6 +329,10 @@ void getfontsize(char *str, unsigned int *width, unsigned … | |
void cleanup() | |
{ | |
+ size_t i; | |
+ | |
+ for (i = 0; i < NUMFONTSCALES; i++) | |
+ drw_fontset_free(fonts[i]); | |
drw_scm_free(sc); | |
drw_free(d); | |