about summary refs log tree commit diff stats
path: root/085scenario_console.cc
diff options
context:
space:
mode:
Diffstat (limited to '085scenario_console.cc')
-rw-r--r--085scenario_console.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/085scenario_console.cc b/085scenario_console.cc
index e97f67f1..a6b3dfa3 100644
--- a/085scenario_console.cc
+++ b/085scenario_console.cc
@@ -121,6 +121,8 @@ case ASSUME_CONSOLE: {
   put(Memory, console_address+/*skip refcount*/1+/*offset of 'data' in container 'events'*/1, event_data_address);
   // increment refcount for event data
   put(Memory, event_data_address, 1);
+  // increment refcount for console
+  put(Memory, console_address, 1);
   break;
 }