Plug some memory leaks.

This commit is contained in:
Nicholas Marriott
2009-07-30 20:41:48 +00:00
parent 61f3fc7e4d
commit 97f105cde2
4 changed files with 5 additions and 0 deletions

View File

@ -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);
}