systemctl: fix memleak caused by wrong cleanup func

This commit is contained in:
Yu Watanabe
2019-10-14 01:18:41 +09:00
parent f4f6f2c740
commit 13f697b7b1
+1 -1
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;