From: Yu Watanabe Date: Fri, 11 Apr 2025 02:39:49 +0000 (+0900) Subject: unit-file: use set_free() to free paths X-Git-Tag: v258-rc1~825^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d502816b3e8ce22d2500d270f4d0a6e9c4bd1800;p=thirdparty%2Fsystemd.git unit-file: use set_free() to free paths As it uses path_hash_ops_free. --- 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;