From 3ecdd18f87f4f4902d3f3c13b50a6245a12f470b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 14 May 2018 14:14:17 +0900 Subject: [PATCH] test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep) --- src/test/test-hashmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-hashmap.c b/src/test/test-hashmap.c index 9a22fc90537..50fcb364faf 100644 --- a/src/test/test-hashmap.c +++ b/src/test/test-hashmap.c @@ -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));