diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-01 14:15:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-01 14:15:48 +0000 |
commit | 9d563c340b16dfe0d4b3cd789ffbeda0d4d1e589 (patch) | |
tree | 2a49ad8dd00abd39c51d125a3666d5f656705d77 /window.c | |
parent | 532757fd1c1886703a626a17f19c8c649a9e3d97 (diff) |
Destroy screens properly.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.14 2007-09-29 14:25:49 nicm Exp $ */ +/* $Id: window.c,v 1.15 2007-10-01 14:15:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -178,6 +178,8 @@ window_destroy(struct window *w) input_free(&w->ictx); + screen_destroy(&w->screen); + buffer_destroy(w->in); buffer_destroy(w->out); xfree(w); |