summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-01 14:15:48 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-01 14:15:48 +0000
commit9d563c340b16dfe0d4b3cd789ffbeda0d4d1e589 (patch)
tree2a49ad8dd00abd39c51d125a3666d5f656705d77 /window.c
parent532757fd1c1886703a626a17f19c8c649a9e3d97 (diff)
Destroy screens properly.
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/window.c b/window.c
index c5ee1712..e29fd766 100644
--- a/window.c
+++ b/window.c
@@ -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);