all repos — slstatus @ b04ca3ef45decced916dd43370d43a10f21e2991

my build of slstatus (tools.suckless.org/slstatus/)

Fix memory leak
Aaron Marcher me@drkhsh.at
Fri, 18 May 2018 16:55:37 +0200
commit

b04ca3ef45decced916dd43370d43a10f21e2991

parent

367f8a8c44fc9dc05a0f7a2c1500111ca97f669c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M components/battery.ccomponents/battery.c

@@ -125,7 +125,7 @@ if (apm_info.ac_state != APM_AC_ON) {

return bprintf("%u:%02u", apm_info.minutes_left / 60, apm_info.minutes_left % 60); } else { - return strdup(""); + return ""; } }