1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

systemctl: fix memleak caused by wrong cleanup func

This commit is contained in:
Yu Watanabe 2019-10-13 00:54:34 +09:00
parent f4f6f2c740
commit 13f697b7b1

View File

@ -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;