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:
parent
af4fa99d6a
commit
3ecdd18f87
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user