From: Yu Watanabe Date: Mon, 14 May 2018 05:14:17 +0000 (+0900) Subject: test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=59ca368ee039957754905491254e6284a133ae87;p=elogind.git test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep) --- diff --git a/src/test/test-hashmap.c b/src/test/test-hashmap.c index 9a22fc905..50fcb364f 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));