1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00

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) { 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)); assert_se(h = hashmap_new(&path_hash_ops));