summaryrefslogtreecommitdiffstats
path: root/src/test/test-hashmap.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-14 07:14:17 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-14 07:14:17 +0200
commit3ecdd18f87f4f4902d3f3c13b50a6245a12f470b (patch)
tree1b64b9bd541a21a029219d9a33cbb9bf80c06680 /src/test/test-hashmap.c
parentcore: use _cleanup_set_free_ instread of _cleanup_(set_freep) (diff)
downloadsystemd-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.c2
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));