projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
367f8a8
)
Fix memory leak
author
Aaron Marcher
<me@drkhsh.at>
Fri, 18 May 2018 14:55:37 +0000
(16:55 +0200)
committer
Aaron Marcher
<me@drkhsh.at>
Fri, 18 May 2018 14:55:37 +0000
(16:55 +0200)
components/battery.c
patch
|
blob
|
history
diff --git
a/components/battery.c
b/components/battery.c
index 84b2c116985d82ac5f3877cbf667585e4873c2e9..b05c171497459bdf3176b43f05deb8f1fbebaa17 100644
(file)
--- 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
""
;
}
}