]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep) 8986/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 May 2018 05:14:17 +0000 (14:14 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 May 2018 05:14:17 +0000 (14:14 +0900)
src/test/test-hashmap.c

index 9a22fc905371f2a9e0eb978611a949002f75cc79..50fcb364faf6cf9df3a379880cca1405bf4b11da 100644 (file)
@@ -125,7 +125,7 @@ static void test_iterated_cache(void) {
 }
 
 static void test_path_hashmap(void) {
-        _cleanup_(hashmap_freep) Hashmap *h = NULL;
+        _cleanup_hashmap_free_ Hashmap *h = NULL;
 
         assert_se(h = hashmap_new(&path_hash_ops));