test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep)

This commit is contained in:
Yu Watanabe 2018-05-14 14:14:17 +09:00
parent af4fa99d6a
commit 3ecdd18f87

View 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));