aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-layout.c')
-rw-r--r--gdb/tui/tui-layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c
index 90555f5..f01e2f9 100644
--- a/gdb/tui/tui-layout.c
+++ b/gdb/tui/tui-layout.c
@@ -104,6 +104,7 @@ tui_apply_current_layout ()
{
if (focus == win_info)
tui_set_win_focus_to (tui_windows[0]);
+ delete win_info;
}
}