summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2015-04-28 00:27:43 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-04-28 00:27:43 +0200
commit8606d72cedf0199e2cf03e421488f5b88896cecf (patch)
treec0294a85d65b2aa394a37f0b7878c8bb08b648aa
parente9261114fe797102a85852b0dc4ab62f3b208520 (diff)
downloadsent-8606d72cedf0199e2cf03e421488f5b88896cecf.tar.gz
sent-8606d72cedf0199e2cf03e421488f5b88896cecf.tar.bz2
sent-8606d72cedf0199e2cf03e421488f5b88896cecf.zip
fonts cleanup
-rw-r--r--sent.c4
1 files changed, 4 insertions, 0 deletions
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);
Software created with 💖