mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
jsonrpc: fix leak.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user