mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
bitcoind: fix spurious memleak reports.
Turn req_running into a pointer to the current bcli structure, which means the leak detection can find it. Also suppress leaks in the case where we're only attached to a timer Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
5c19c55841
commit
a80241ec7a
@@ -38,7 +38,7 @@ struct bitcoind {
|
||||
struct lightningd *ld;
|
||||
|
||||
/* Are we currently running a bitcoind request (it's ratelimited) */
|
||||
bool req_running;
|
||||
struct bitcoin_cli *current;
|
||||
|
||||
/* Pending requests. */
|
||||
struct list_head pending;
|
||||
|
||||
Reference in New Issue
Block a user