Fix memory leak
This commit is contained in:
parent
367f8a8c44
commit
b04ca3ef45
|
@ -125,7 +125,7 @@
|
||||||
return bprintf("%u:%02u", apm_info.minutes_left / 60,
|
return bprintf("%u:%02u", apm_info.minutes_left / 60,
|
||||||
apm_info.minutes_left % 60);
|
apm_info.minutes_left % 60);
|
||||||
} else {
|
} else {
|
||||||
return strdup("");
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue