Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lightningd/jsonrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,8 @@ static void destroy_jcon(struct json_connection *jcon)
{
struct command *c;

list_for_each(&jcon->commands, c, list) {
log_debug(jcon->log, "Abandoning command %s", c->json_cmd->name);
list_for_each(&jcon->commands, c, list)
c->jcon = NULL;
}

/* Make sure this happens last! */
tal_free(jcon->log);
Expand Down