mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
gdb/tui: restore delete of window objects
In commit: commit f237f998d1168139d599c550d54169cd8f94052d Date: Mon Jan 25 18:43:19 2021 +0000 gdb/tui: remove special handling of locator/status window I accidentally remove a call to delete the tui window objects. Now every time GDB changes tui layout it is leaking windows. gdb/ChangeLog: * tui/tui-layout.c (tui_apply_current_layout): Restore the delete of the window objects.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -104,6 +104,7 @@ tui_apply_current_layout ()
|
||||
{
|
||||
if (focus == win_info)
|
||||
tui_set_win_focus_to (tui_windows[0]);
|
||||
delete win_info;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user