must delete command explicitly now

This commit is contained in:
Axel Kohlmeyer
2021-04-14 07:26:34 -04:00
parent 75579fc100
commit 2e5079371a

View File

@ -792,6 +792,7 @@ int Input::execute_command()
CommandCreator &command_creator = (*command_map)[command];
Command *cmd = command_creator(lmp);
cmd->command(narg,arg);
delete cmd;
return 0;
}