chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ba102
)
test: use _cleanup_hashmap_free_ instread of _cleanup_(hashmap_freep)
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 14 May 2018 05:14:17 +0000
(14:14 +0900)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000
(16:47 +0200)
src/test/test-hashmap.c
patch
|
blob
|
history
diff --git
a/src/test/test-hashmap.c
b/src/test/test-hashmap.c
index 9a22fc905371f2a9e0eb978611a949002f75cc79..50fcb364faf6cf9df3a379880cca1405bf4b11da 100644
(file)
--- 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));