diff --git a/openingd/openingd.c b/openingd/openingd.c index dc9441c42..67ecc1bdc 100644 --- a/openingd/openingd.c +++ b/openingd/openingd.c @@ -778,6 +778,9 @@ static u8 *funder_channel(struct state *state, peer_billboard(false, "Funding channel: opening negotiation succeeded"); + if (taken(utxos)) + tal_free(utxos); + /* BOLT #2: * * The recipient: