summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-14 14:14:17 +0900
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit59ca368ee039957754905491254e6284a133ae87 (patch)
treee47085f4783f7395305127aa3a559fe503e9c286
parent29ba1025d320d5b22946410c09d88f2717eb0567 (diff)
test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep)
-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 9a22fc905..50fcb364f 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));