summaryrefslogtreecommitdiff
path: root/src/test/test-hashmap.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-14 14:14:17 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-14 14:14:17 +0900
commit3ecdd18f87f4f4902d3f3c13b50a6245a12f470b (patch)
tree1b64b9bd541a21a029219d9a33cbb9bf80c06680 /src/test/test-hashmap.c
parentaf4fa99d6ad93db5a34f857bfb6f47b40e0e0862 (diff)
downloadsystemd-3ecdd18f87f4f4902d3f3c13b50a6245a12f470b.tar.gz
systemd-3ecdd18f87f4f4902d3f3c13b50a6245a12f470b.tar.bz2
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));