gdb/tui: restore delete of window objects
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Feb 2021 11:11:24 +0000 (11:11 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Feb 2021 11:11:24 +0000 (11:11 +0000)
commita53a265752ef4b911d175aea62e082e54e717497
treef037a612ad7ee75ea771f465bb764bba2d684de9
parent2708dbbd58fd5ccdbf07b6da812a45e228659268
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.
gdb/ChangeLog
gdb/tui/tui-layout.c