]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hashmap: fix build with valgrind
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Feb 2023 21:56:02 +0000 (06:56 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 17 Feb 2023 22:56:37 +0000 (22:56 +0000)
Follow-up for a2b052b29f8bc141e94a4af95d1653a38a57eaeb.

src/basic/hashmap.c

index 75119866d4e9396302a636b566dd770dcdd552fc..3d6d99e6dede8af6922738856a5af3b5b574ba60 100644 (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