From 0b6bf4b674a63e9951dcffbd0b95de7377038690 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 3 May 2022 01:09:21 +0900 Subject: [PATCH] shared/install: use correct cleanup function Fixes #23250. --- src/shared/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/install.c b/src/shared/install.c index f7257c5ceb8..5df2137d4c6 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -2799,7 +2799,7 @@ static int normalize_linked_files( * but operates on real unit names. For each argument we we look up the actual path * where the unit is found. This way linked units can be re-enabled successfully. */ - _cleanup_free_ char **files = NULL, **names = NULL; + _cleanup_strv_free_ char **files = NULL, **names = NULL; int r; STRV_FOREACH(a, names_or_paths) { -- 2.47.3