version 1.25, 2010/12/21 22:37:59 |
version 1.26, 2010/12/30 23:16:18 |
|
|
TAILQ_INIT(&s->lastw); |
TAILQ_INIT(&s->lastw); |
RB_INIT(&s->windows); |
RB_INIT(&s->windows); |
|
|
paste_init_stack(&s->buffers); |
|
|
|
options_init(&s->options, &global_s_options); |
options_init(&s->options, &global_s_options); |
environ_init(&s->environ); |
environ_init(&s->environ); |
if (env != NULL) |
if (env != NULL) |
|
|
session_group_remove(s); |
session_group_remove(s); |
environ_free(&s->environ); |
environ_free(&s->environ); |
options_free(&s->options); |
options_free(&s->options); |
paste_free_stack(&s->buffers); |
|
|
|
while (!TAILQ_EMPTY(&s->lastw)) |
while (!TAILQ_EMPTY(&s->lastw)) |
winlink_stack_remove(&s->lastw, TAILQ_FIRST(&s->lastw)); |
winlink_stack_remove(&s->lastw, TAILQ_FIRST(&s->lastw)); |