diff options
-rw-r--r-- | engines/glk/frotz/mem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/frotz/mem.cpp b/engines/glk/frotz/mem.cpp index bec30b00f7..656b822ee6 100644 --- a/engines/glk/frotz/mem.cpp +++ b/engines/glk/frotz/mem.cpp @@ -231,7 +231,7 @@ void Mem::reset_memory() { if (undo_mem) { free_undo(undo_count); - delete undo_mem; + delete[] undo_mem; } undo_mem = nullptr; |