lightningd: free failed output htlcs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-12-15 20:59:45 +10:30
committed by Christian Decker
parent ba6904f833
commit 3ed496e45b

View File

@@ -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;
}