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:
Rusty Russell
2022-03-23 13:06:52 +10:30
parent f7aba31448
commit f95c9522fd

View File

@@ -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",