From 3620538812a9df490ace6b3adf8bd120b7a0027b Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 1 Jul 2019 00:12:52 +0200 Subject: Fix memory leakages which repeat during program operation. There are some singletons left which are allocated/created during main window content population. Signed-off-by: Pavel Pisa --- qtmips_machine/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qtmips_machine/core.h') diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index fd15315..dfa9261 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -72,6 +72,7 @@ class Core : public QObject { public: Core(Registers *regs, MemoryAccess *mem_program, MemoryAccess *mem_data, unsigned int min_cache_row_size = 1, Cop0State *cop0state = nullptr); + ~Core(); void step(bool skip_break = false); // Do single step void reset(); // Reset core (only core, memory and registers has to be reseted separately) -- cgit v1.2.3