diff --git a/lightningd/peer_htlcs.c b/lightningd/peer_htlcs.c index 7087c1da7..ab15745b2 100644 --- a/lightningd/peer_htlcs.c +++ b/lightningd/peer_htlcs.c @@ -348,6 +348,7 @@ static void rcvd_htlc_reply(struct subd *subd, const u8 *msg, const int *fds, } else local_fail_htlc(hout->in, failure_code, hout->key.peer->scid); + tal_free(hout); return; }