mirror of
https://github.com/pikami/slstatus.git
synced 2026-11-11 20:52:26 +00:00
Fix memory leak
This commit is contained in:
1 parent
367f8a8c44
commit
b04ca3ef45
1 file changed
+1
-1
@@ -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 "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user