aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tui/tui-layout.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a45c2c7..3b9615d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
+ * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
+ of the window objects.
+
+2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
+
* python/python.c (gdbpy_print_stack): Reformat an error message.
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
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;
}
}