aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/core.cpp')
-rw-r--r--qtmips_machine/core.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_machine/core.cpp b/qtmips_machine/core.cpp
index 96ae0ad..3255fbf 100644
--- a/qtmips_machine/core.cpp
+++ b/qtmips_machine/core.cpp
@@ -60,6 +60,10 @@ Core::Core(Registers *regs, MemoryAccess *mem_program, MemoryAccess *mem_data,
step_over_exception[EXCAUSE_INT] = false;
}
+Core::~Core() {
+ delete ex_default_handler;
+}
+
void Core::step(bool skip_break) {
cycle_c++;
emit cycle_c_value(cycle_c);