diff options
Diffstat (limited to 'qtmips_gui/coreview')
-rw-r--r-- | qtmips_gui/coreview/connection.cpp | 2 | ||||
-rw-r--r-- | qtmips_gui/coreview/multiplexer.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/connection.cpp b/qtmips_gui/coreview/connection.cpp index f7271c7..140185f 100644 --- a/qtmips_gui/coreview/connection.cpp +++ b/qtmips_gui/coreview/connection.cpp @@ -5,6 +5,8 @@ using namespace coreview; Connector::Connector(enum Axis ax) { + qx = 0; + qy = 0; this->ax = ax; } diff --git a/qtmips_gui/coreview/multiplexer.cpp b/qtmips_gui/coreview/multiplexer.cpp index b25e6d1..f314a6f 100644 --- a/qtmips_gui/coreview/multiplexer.cpp +++ b/qtmips_gui/coreview/multiplexer.cpp @@ -27,7 +27,7 @@ Multiplexer::~Multiplexer() { delete con_out; for (unsigned i = 0; i < size; i++) delete con_in[i]; - delete con_in; + delete[] con_in; } #define C_HEIGHT (HEIGHT + (GAP * (size -1 ))) |