mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Plug some memory leaks.
This commit is contained in:
parent
61f3fc7e4d
commit
97f105cde2
4 changed files with 5 additions and 0 deletions
2
screen.c
2
screen.c
|
|
@ -63,6 +63,8 @@ screen_reinit(struct screen *s)
|
|||
void
|
||||
screen_free(struct screen *s)
|
||||
{
|
||||
if (s->tabs != NULL)
|
||||
xfree(s->tabs);
|
||||
xfree(s->title);
|
||||
grid_destroy(s->grid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue