diff options
author | nicm <nicm> | 2019-04-17 14:37:48 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-04-17 14:37:48 +0000 |
commit | 78287e27c87ccdda1f8580382b336a0d02c26a03 (patch) | |
tree | e32c5b17141247149bbe79b26d5aa155f8fffcd2 /cmd-queue.c | |
parent | 835ccbac46c2c6c3a1e3192a1f1f5a5708ccbd48 (diff) |
Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index 97b3c1c9..03fd5f10 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -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); |