mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Allow % strings that are all numbers or %s, and fix a double free. Both
reported by George Nachman, GitHub issues 1765 and 1766.
This commit is contained in:
@ -91,7 +91,6 @@ control_callback(struct client *c, int closed, __unused void *data)
|
||||
case CMD_PARSE_ERROR:
|
||||
item = cmdq_get_callback(control_error, pr->error);
|
||||
cmdq_append(c, item);
|
||||
free(pr->error);
|
||||
break;
|
||||
case CMD_PARSE_SUCCESS:
|
||||
item = cmdq_get_command(pr->cmdlist, NULL, NULL, 0);
|
||||
|
Reference in New Issue
Block a user