From d502816b3e8ce22d2500d270f4d0a6e9c4bd1800 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 11 Apr 2025 11:39:49 +0900 Subject: [PATCH] unit-file: use set_free() to free paths As it uses path_hash_ops_free. --- src/shared/unit-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/unit-file.c b/src/shared/unit-file.c index 77985c79179..95ba31e3c6d 100644 --- a/src/shared/unit-file.c +++ b/src/shared/unit-file.c @@ -376,7 +376,7 @@ int unit_file_build_name_map( */ _cleanup_hashmap_free_ Hashmap *ids = NULL, *names = NULL; - _cleanup_set_free_free_ Set *paths = NULL; + _cleanup_set_free_ Set *paths = NULL; _cleanup_strv_free_ char **expanded_search_path = NULL; uint64_t timestamp_hash; int r; -- 2.47.3