mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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
|
||||
highfeesarg = NULL;
|
||||
|
||||
/* Keep memleak happy! */
|
||||
tal_free(allowhighfees);
|
||||
|
||||
start_bitcoin_cli(NULL, cmd, process_sendrawtransaction, true,
|
||||
BITCOIND_HIGH_PRIO, NULL,
|
||||
"sendrawtransaction",
|
||||
|
||||
Reference in New Issue
Block a user