mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
commando: free incmd as soon as we use it.
Otherwise we left it in the cache, causing "New cmd replacing old" messages.
This commit is contained in:
committed by
neil saitug
parent
8da361b49b
commit
9aa9a8236f
@@ -485,6 +485,7 @@ static void handle_incmd(struct node_id *peer,
|
||||
}
|
||||
|
||||
try_command(peer, idnum, incmd->contents, tal_bytelen(incmd->contents));
|
||||
tal_free(incmd);
|
||||
}
|
||||
|
||||
static struct command_result *handle_reply(struct node_id *peer,
|
||||
|
||||
Reference in New Issue
Block a user