From f95c9522fd3747908fe9f4209bcada24deef3b5d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 23 Mar 2022 13:06:52 +1030 Subject: [PATCH] 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 --- plugins/bcli.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/bcli.c b/plugins/bcli.c index d65e16f19..5f0922c77 100644 --- a/plugins/bcli.c +++ b/plugins/bcli.c @@ -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",