diff --git a/components/battery.c b/components/battery.c index 84b2c11..b05c171 100644 --- 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 ""; } }