diff options
Diffstat (limited to 'engines/glk/window_text_buffer.cpp')
-rw-r--r-- | engines/glk/window_text_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/window_text_buffer.cpp b/engines/glk/window_text_buffer.cpp index b27fb36661..788f8caea5 100644 --- a/engines/glk/window_text_buffer.cpp +++ b/engines/glk/window_text_buffer.cpp @@ -1446,7 +1446,7 @@ void TextBufferWindow::acceptLine(uint32 keycode) { _echoLineInput = false; g_vm->_events->store(evtype_LineInput, this, len, keycode); - free(_lineTerminators); + delete[] _lineTerminators; _lineTerminators = nullptr; } else { g_vm->_events->store(evtype_LineInput, this, len, 0); |