gdb/tui: restore delete of window objects
In commit:
commit f237f998d1
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:
parent
2708dbbd58
commit
a53a265752
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user