Fix memory leak
Aaron Marcher me@drkhsh.at
Fri, 18 May 2018 16:55:37 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
components/battery.c
→
components/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 ""; } }