slstatus

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.beauhilton.com/slstatus.git
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 ""; } }