summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 💖