mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
jsonrpc: free old connections
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
a4ee683b3e
commit
5f32d291bf
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue