aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/programdock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/programdock.cpp')
-rw-r--r--qtmips_gui/programdock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/programdock.cpp b/qtmips_gui/programdock.cpp
index 0f2b166..8553494 100644
--- a/qtmips_gui/programdock.cpp
+++ b/qtmips_gui/programdock.cpp
@@ -49,8 +49,8 @@ ProgramDock::ProgramDock(QWidget *parent) : QDockWidget(parent) {
ProgramDock::~ProgramDock() {
delete ctlbox_single;
delete ctlbox_pipelined;
- delete widg;
delete widg_layout;
+ delete widg;
}
void ProgramDock::setup(machine::QtMipsMachine *machine) {