Introduction
Introduction Statistics Contact Development Disclaimer Help
free temporary fontstr arrays - sent - simple plaintext presentation tool
git clone git://git.suckless.org/sent
Log
Files
Refs
README
LICENSE
---
commit d302f2efe13205f45f15f1e92113a44c55b0a0cd
parent f6455efd52cdcfcb25030a8f3644162e8b861573
Author: Markus Teich <[email protected]>
Date: Wed, 11 Nov 2015 18:53:54 +0100
free temporary fontstr arrays
Diffstat:
M sent.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/sent.c b/sent.c
@@ -562,6 +562,10 @@ void xloadfonts()
}
fonts[i] = drw_fontset_create(d, (const char**)fstrs, LEN(fstr…
}
+
+ for (j = 0; j < LEN(fontfallbacks); j++)
+ if (fstrs[j])
+ free(fstrs[j]);
}
void bpress(XEvent *e)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.