aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/streams.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-17 10:38:51 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit813918aaba8c2f86d55c4b256da7ee79c155b12f (patch)
tree4fdfd31ad74e1d99dd96d6dc65f05295cbaf4a49 /engines/glk/streams.h
parent4b011b2f1cfdc3aac0468248f4feb9faea3501a2 (diff)
downloadscummvm-rg350-813918aaba8c2f86d55c4b256da7ee79c155b12f.tar.gz
scummvm-rg350-813918aaba8c2f86d55c4b256da7ee79c155b12f.tar.bz2
scummvm-rg350-813918aaba8c2f86d55c4b256da7ee79c155b12f.zip
GLK: Memory leak fixes
Diffstat (limited to 'engines/glk/streams.h')
-rw-r--r--engines/glk/streams.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/glk/streams.h b/engines/glk/streams.h
index 32bde70887..22a0a59602 100644
--- a/engines/glk/streams.h
+++ b/engines/glk/streams.h
@@ -300,6 +300,11 @@ public:
Stream(streams, false, true, rock, unicode), _window(window) {}
/**
+ * Destructor
+ */
+ virtual ~WindowStream();
+
+ /**
* Close the stream
*/
virtual void close(StreamResult *result = nullptr);