chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Turn VALGRIND variable into a meson configuration switch
[elogind.git]
/
src
/
basic
/
hashmap.c
diff --git
a/src/basic/hashmap.c
b/src/basic/hashmap.c
index a70fd667c58b538a33e4ac70577987f71e6dfa41..95c15c26c763e9e0fd1141b62e433ff766832238 100644
(file)
--- a/
src/basic/hashmap.c
+++ b/
src/basic/hashmap.c
@@
-281,7
+281,7
@@
static const struct hashmap_type_info hashmap_type_info[_HASHMAP_TYPE_MAX] = {
},
};
-#if
def
VALGRIND
+#if VALGRIND
__attribute__((destructor)) static void cleanup_pools(void) {
_cleanup_free_ char *t = NULL;
int r;