mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
plugins/bcli: fix false memleak detection.
Well, it is leaking a bool for the command duration, but that's probably OK. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -771,6 +771,9 @@ static struct command_result *sendrawtransaction(struct command *cmd,
|
|||||||
} else
|
} else
|
||||||
highfeesarg = NULL;
|
highfeesarg = NULL;
|
||||||
|
|
||||||
|
/* Keep memleak happy! */
|
||||||
|
tal_free(allowhighfees);
|
||||||
|
|
||||||
start_bitcoin_cli(NULL, cmd, process_sendrawtransaction, true,
|
start_bitcoin_cli(NULL, cmd, process_sendrawtransaction, true,
|
||||||
BITCOIND_HIGH_PRIO, NULL,
|
BITCOIND_HIGH_PRIO, NULL,
|
||||||
"sendrawtransaction",
|
"sendrawtransaction",
|
||||||
|
|||||||
Reference in New Issue
Block a user