diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-14 07:14:17 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-14 07:14:17 +0200 |
commit | 3ecdd18f87f4f4902d3f3c13b50a6245a12f470b (patch) | |
tree | 1b64b9bd541a21a029219d9a33cbb9bf80c06680 /src/test/test-hashmap.c | |
parent | core: use _cleanup_set_free_ instread of _cleanup_(set_freep) (diff) | |
download | systemd-3ecdd18f87f4f4902d3f3c13b50a6245a12f470b.tar.xz systemd-3ecdd18f87f4f4902d3f3c13b50a6245a12f470b.zip |
test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep)
Diffstat (limited to 'src/test/test-hashmap.c')
-rw-r--r-- | src/test/test-hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-hashmap.c b/src/test/test-hashmap.c index 9a22fc9053..50fcb364fa 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)); |