unit-file: use set_free() to free paths

As it uses path_hash_ops_free.
This commit is contained in:
Yu Watanabe
2025-04-13 09:49:40 +09:00
parent 5c6ea30209
commit d502816b3e
+1 -1
View File
@@ -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;