From 708e3c7e85a666d5b8da8638a819c0f3973fcca4 Mon Sep 17 00:00:00 2001 From: fanquake Date: Sun, 3 May 2020 10:05:49 +0800 Subject: [PATCH 1/2] valgrind: remove rest_blockhash_by_height suppression This should no-longer be necessary after #18785. --- contrib/valgrind.supp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contrib/valgrind.supp b/contrib/valgrind.supp index 744b8ee70fa..c3d29f4f29f 100644 --- a/contrib/valgrind.supp +++ b/contrib/valgrind.supp @@ -192,8 +192,3 @@ ... fun:_ZN5BCLog6Logger12StartLoggingEv } -{ - Suppress rest_blockhash_by_height Conditional jump or move depends on uninitialised value(s) - Memcheck:Cond - fun:_ZL24rest_blockhash_by_heightP11HTTPRequestRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE -} From d7120f7f78cda5ed1ab91f83e9b546de68dbee47 Mon Sep 17 00:00:00 2001 From: fanquake Date: Sun, 3 May 2020 10:07:11 +0800 Subject: [PATCH 2/2] valgrind : remove duplicate BCLog::Logger suppression This was added in #17770, but is identical to the supression above. --- contrib/valgrind.supp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contrib/valgrind.supp b/contrib/valgrind.supp index c3d29f4f29f..f232bb62c2c 100644 --- a/contrib/valgrind.supp +++ b/contrib/valgrind.supp @@ -184,11 +184,3 @@ ... fun:_ZN5BCLog6Logger12StartLoggingEv } -{ - Suppress BCLog::Logger::StartLogging() still reachable memory warning - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - ... - fun:_ZN5BCLog6Logger12StartLoggingEv -}