wmsl

Block-based window manager status line
git clone https://git.sinitax.com/sinitax/wmsl
Log | Files | Refs | README | LICENSE | sfeed.txt

commit ce99b50cb1fb18a14756ec822711f7bc704c5df6
parent 61e99a2c37ab2a5ab5b5595c690650aceabc73b5
Author: Louis Burda <quent.burda@gmail.com>
Date:   Sun, 27 Sep 2020 02:27:06 +0200

Add missing free to debug messages

Diffstat:
Mwmsl.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmsl.c b/wmsl.c @@ -215,7 +215,7 @@ debug(const char *fmtstr, ...) int len; if (!verbose) - return; + return; time(&epoch); tm = localtime(&epoch); @@ -226,6 +226,7 @@ debug(const char *fmtstr, ...) strcpy(fmtalloc + 11, fmtstr); vprintf(fmtalloc, ap); va_end(ap); + free(fmtalloc); } int