diff --git a/plugins/commando.c b/plugins/commando.c index c2b32239e..83379aafb 100644 --- a/plugins/commando.c +++ b/plugins/commando.c @@ -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,