mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 08:34:31 +01:00
jsonrpc: free old connections
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -33,6 +33,7 @@ static void finish_jcon(struct io_conn *conn, struct json_connection *jcon)
|
||||
log_unusual(jcon->log, "Abandoning current command");
|
||||
jcon->current->jcon = NULL;
|
||||
}
|
||||
tal_free(jcon);
|
||||
}
|
||||
|
||||
static void json_help(struct command *cmd,
|
||||
|
||||
Reference in New Issue
Block a user