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-Tag: v239~260^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8986%2Fhead;p=thirdparty%2Fsystemd.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 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));