Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2018-11-30 10:02:37 +00:00
3 changed files with 9 additions and 1 deletions

View File

@ -303,6 +303,7 @@ server_destroy_pane(struct window_pane *wp, int notify)
utempter_remove_record(wp->fd);
#endif
bufferevent_free(wp->event);
wp->event = NULL;
close(wp->fd);
wp->fd = -1;
}