fonts are automatically cleaned up
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 29 Aug 2015 00:24:42 +0000 (02:24 +0200)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 29 Aug 2015 00:24:42 +0000 (02:24 +0200)
sent.c

diff --git a/sent.c b/sent.c
index 2561f648e9879fbc10d15fde6658e15180f7dc4b..a8e43d8450a5e0506f916f597c6c7c076eeaec76 100644 (file)
--- a/sent.c
+++ b/sent.c
@@ -329,10 +329,6 @@ 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);