diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-05 18:56:18 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-05 18:56:18 +0100 |
commit | 09aca1674915d5e2bc4287336d7d52c83b51342d (patch) | |
tree | cb6191662d6e69cdc3f0c615fc49d3f6f7b8d1e6 /qtmips_gui | |
parent | 71e2e98d07499c6d0f31596fec52cd8cef5813a9 (diff) | |
download | qtmips-09aca1674915d5e2bc4287336d7d52c83b51342d.tar.gz qtmips-09aca1674915d5e2bc4287336d7d52c83b51342d.tar.bz2 qtmips-09aca1674915d5e2bc4287336d7d52c83b51342d.zip |
Fix segfault on gui exit
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/programdock.cpp | 2 |
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) { |