slstatus

My fork of https://tools.suckless.org/slstatus/
git clone https://git.inz.fi/slstatus
Log | Files | Refs | README | LICENSE

commit b04ca3ef45decced916dd43370d43a10f21e2991
parent 367f8a8c44fc9dc05a0f7a2c1500111ca97f669c
Author: Aaron Marcher <me@drkhsh.at>
Date:   Fri, 18 May 2018 16:55:37 +0200

Fix memory leak

Diffstat:
Mcomponents/battery.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/battery.c b/components/battery.c @@ -125,7 +125,7 @@ return bprintf("%u:%02u", apm_info.minutes_left / 60, apm_info.minutes_left % 60); } else { - return strdup(""); + return ""; } }