]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
unit-file: use set_free() to free paths 37114/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Apr 2025 02:39:49 +0000 (11:39 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Apr 2025 00:49:40 +0000 (09:49 +0900)
As it uses path_hash_ops_free.

src/shared/unit-file.c

index 77985c79179e1eaa716c0bce62d278c2578fbf10..95ba31e3c6dafb67c16714b6aac48688b5b0be50 100644 (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;