diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-10-13 00:54:34 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-10-14 01:18:41 +0900 |
commit | 13f697b7b1f3837d144ba6f60188bc7dc4d1fbaa (patch) | |
tree | c4fe603a740c44b4c9a9018427dd7817a5daa1b4 /src/systemctl | |
parent | f4f6f2c7400b1a525d7c0c57b12f76f9dfdc4f0d (diff) | |
download | systemd-13f697b7b1f3837d144ba6f60188bc7dc4d1fbaa.tar.gz |
systemctl: fix memleak caused by wrong cleanup func
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 98a71c4460..738b9af536 100644 --- 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; |