diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2015-11-11 18:53:54 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2015-11-11 18:53:54 +0100 |
commit | d302f2efe13205f45f15f1e92113a44c55b0a0cd (patch) | |
tree | 94285e5f847e4a0e38ded8ace70112059db34962 /sent.c | |
parent | f6455efd52cdcfcb25030a8f3644162e8b861573 (diff) |
free temporary fontstr arrays
Diffstat (limited to 'sent.c')
-rw-r--r-- | sent.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |