aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-rw-r--r--window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.c b/window.c
index 31f20a1c..e4e41155 100644
--- a/window.c
+++ b/window.c
@@ -344,6 +344,7 @@ window_destroy(struct window *w)
if (w->layout_root != NULL)
layout_free(w);
+ free(w->old_layout);
if (event_initialized(&w->name_timer))
evtimer_del(&w->name_timer);