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 | |
parent | udev: fix memleak caused by wrong cleanup function (diff) | |
download | systemd-13f697b7b1f3837d144ba6f60188bc7dc4d1fbaa.tar.xz systemd-13f697b7b1f3837d144ba6f60188bc7dc4d1fbaa.zip |
systemctl: fix memleak caused by wrong cleanup func
-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 98a71c44601..738b9af5363 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; |