projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4f6f2c
)
systemctl: fix memleak caused by wrong cleanup func
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 12 Oct 2019 15:54:34 +0000
(
00:54
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 13 Oct 2019 16:18:41 +0000
(
01:18
+0900)
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index
98a71c4
..
738b9af
100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-7977,7
+7977,7
@@
static void help_states(void) {
static int help_boot_loader_entry(void) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
- _cleanup_free_ char **l = NULL;
+ _cleanup_
strv_
free_ char **l = NULL;
sd_bus *bus;
char **i;
int r;