From d302f2efe13205f45f15f1e92113a44c55b0a0cd Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 11 Nov 2015 18:53:54 +0100 Subject: free temporary fontstr arrays --- sent.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sent.c') 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) -- cgit v1.2.3