1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

shared/install: use correct cleanup function

Fixes #23250.
This commit is contained in:
Yu Watanabe 2022-05-03 01:09:21 +09:00 committed by Luca Boccassi
parent ba4b74cbc7
commit 0b6bf4b674

View File

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