hashmap: fix build with valgrind

Follow-up for a2b052b29f.
This commit is contained in:
Yu Watanabe 2023-02-18 06:56:02 +09:00 committed by Luca Boccassi
parent 1ec9b72258
commit ebc19b154c

View file

@ -298,7 +298,7 @@ void hashmap_trim_pools(void) {
#if VALGRIND
_destructor_ static void cleanup_pools(void) {
/* Be nice to valgrind */
hashmap_cleanup_pools();
hashmap_trim_pools();
}
#endif