mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-02 13:03:16 +01:00
Merge branch 'master' of github.com:tmux/tmux
This commit is contained in:
commit
e6facdcb0c
@ -95,6 +95,7 @@ server_client_create(int fd)
|
|||||||
|
|
||||||
environ_init(&c->environ);
|
environ_init(&c->environ);
|
||||||
|
|
||||||
|
c->fd = -1;
|
||||||
c->cwd = -1;
|
c->cwd = -1;
|
||||||
|
|
||||||
c->cmdq = cmdq_new(c);
|
c->cmdq = cmdq_new(c);
|
||||||
|
6
window.c
6
window.c
@ -340,12 +340,12 @@ window_create(const char *name, int argc, char **argv, const char *path,
|
|||||||
void
|
void
|
||||||
window_destroy(struct window *w)
|
window_destroy(struct window *w)
|
||||||
{
|
{
|
||||||
window_unzoom(w);
|
|
||||||
|
|
||||||
RB_REMOVE(windows, &windows, w);
|
RB_REMOVE(windows, &windows, w);
|
||||||
|
|
||||||
if (w->layout_root != NULL)
|
if (w->layout_root != NULL)
|
||||||
layout_free(w);
|
layout_free_cell(w->layout_root);
|
||||||
|
if (w->saved_layout_root != NULL)
|
||||||
|
layout_free_cell(w->saved_layout_root);
|
||||||
free(w->old_layout);
|
free(w->old_layout);
|
||||||
|
|
||||||
if (event_initialized(&w->name_timer))
|
if (event_initialized(&w->name_timer))
|
||||||
|
Loading…
Reference in New Issue
Block a user