lightningd: remove unused allocation.

Not a leak, since it's off tmpctx, but send_htlc_out allocates this itself.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2020-01-20 15:41:41 +10:30
parent dd3d8d9504
commit 9a72016640

View file

@ -576,7 +576,6 @@ static void forward_htlc(struct htlc_in *hin,
goto fail;
}
hout = tal(tmpctx, struct htlc_out);
failcode = send_htlc_out(next, amt_to_forward,
outgoing_cltv_value, &hin->payment_hash,
0, next_onion, hin, &hout);