Browse Source

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>
travis-debug
Rusty Russell 5 years ago
parent
commit
9a72016640
  1. 1
      lightningd/peer_htlcs.c

1
lightningd/peer_htlcs.c

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

Loading…
Cancel
Save