Browse Source

jsonrpc: fix leak.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
plugin-7
Rusty Russell 6 years ago
parent
commit
0a3b38fb20
  1. 1
      lightningd/jsonrpc.c

1
lightningd/jsonrpc.c

@ -614,6 +614,7 @@ static struct io_plan *stream_out_complete(struct io_conn *conn,
struct json_connection *jcon)
{
jcon_remove_json_stream(jcon, js);
tal_free(js);
if (jcon->stop) {
log_unusual(jcon->log, "JSON-RPC shutdown");

Loading…
Cancel
Save