Return to mode-tree.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.1, 2017/05/30 21:44:59 | version 1.2, 2017/06/04 15:36:33 | ||
---|---|---|---|
|
|
||
char *command, *cause; | char *command, *cause; | ||
command = cmd_template_replace(template, name, 1); | command = cmd_template_replace(template, name, 1); | ||
if (command == NULL || *command == '\0') | if (command == NULL || *command == '\0') { | ||
free(command); | |||
return; | return; | ||
} | |||
cmdlist = cmd_string_parse(command, NULL, 0, &cause); | cmdlist = cmd_string_parse(command, NULL, 0, &cause); | ||
if (cmdlist == NULL) { | if (cmdlist == NULL) { |