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) {