diff options
author | Paul Gilbert | 2018-11-17 07:36:36 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | 4b011b2f1cfdc3aac0468248f4feb9faea3501a2 (patch) | |
tree | 1c252f542408f34b159e77622b5f70d43947b5d6 /engines/glk/windows.cpp | |
parent | 3d34cd151f9f56d24299eba4372e71e4a6b26131 (diff) | |
download | scummvm-rg350-4b011b2f1cfdc3aac0468248f4feb9faea3501a2.tar.gz scummvm-rg350-4b011b2f1cfdc3aac0468248f4feb9faea3501a2.tar.bz2 scummvm-rg350-4b011b2f1cfdc3aac0468248f4feb9faea3501a2.zip |
GLK: Freeing of data on exit
Diffstat (limited to 'engines/glk/windows.cpp')
-rw-r--r-- | engines/glk/windows.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/glk/windows.cpp b/engines/glk/windows.cpp index 02298ad79e..ce1929fedf 100644 --- a/engines/glk/windows.cpp +++ b/engines/glk/windows.cpp @@ -70,6 +70,10 @@ Windows::Windows(Graphics::Screen *screen) : _screen(screen), _windowList(nullpt _zcolor_Bright[0] = _zcolor_Bright[1] = _zcolor_Bright[2] = 0; } +Windows::~Windows() { + delete _rootWin; +} + Window *Windows::windowOpen(Window *splitwin, glui32 method, glui32 size, glui32 wintype, glui32 rock) { Window *newwin, *oldparent; |