mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.
This commit is contained in:
@ -111,7 +111,7 @@ cmdq_remove(struct cmdq_item *item)
|
||||
if (item->client != NULL)
|
||||
server_client_unref(item->client);
|
||||
|
||||
if (item->type == CMDQ_COMMAND)
|
||||
if (item->cmdlist != NULL)
|
||||
cmd_list_free(item->cmdlist);
|
||||
|
||||
TAILQ_REMOVE(item->queue, item, entry);
|
||||
|
Reference in New Issue
Block a user