summaryrefslogtreecommitdiff
path: root/sent.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2015-11-11 18:53:54 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-11-11 18:53:54 +0100
commitd302f2efe13205f45f15f1e92113a44c55b0a0cd (patch)
tree94285e5f847e4a0e38ded8ace70112059db34962 /sent.c
parentf6455efd52cdcfcb25030a8f3644162e8b861573 (diff)
free temporary fontstr arrays
Diffstat (limited to 'sent.c')
-rw-r--r--sent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sent.c b/sent.c
index a263aaf..d5f7032 100644
--- a/sent.c
+++ b/sent.c
@@ -562,6 +562,10 @@ void xloadfonts()
}
fonts[i] = drw_fontset_create(d, (const char**)fstrs, LEN(fstrs));
}
+
+ for (j = 0; j < LEN(fontfallbacks); j++)
+ if (fstrs[j])
+ free(fstrs[j]);
}
void bpress(XEvent *e)