diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 00:12:52 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 00:12:52 +0200 |
commit | 3620538812a9df490ace6b3adf8bd120b7a0027b (patch) | |
tree | 884483c7d6e9c903b1499a6b702cd1d8551f1fd0 /qtmips_gui/coreview/latch.h | |
parent | 2408ca900657fdb81f85092a0612aeb6217fbe0f (diff) | |
download | qtmips-3620538812a9df490ace6b3adf8bd120b7a0027b.tar.gz qtmips-3620538812a9df490ace6b3adf8bd120b7a0027b.tar.bz2 qtmips-3620538812a9df490ace6b3adf8bd120b7a0027b.zip |
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 <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/coreview/latch.h')
-rw-r--r-- | qtmips_gui/coreview/latch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/coreview/latch.h b/qtmips_gui/coreview/latch.h index 4521f9c..565e29c 100644 --- a/qtmips_gui/coreview/latch.h +++ b/qtmips_gui/coreview/latch.h @@ -50,6 +50,7 @@ class Latch : public QGraphicsObject { Q_PROPERTY(QColor wedge_clr READ wedge_color WRITE set_wedge_color) public: Latch(machine::QtMipsMachine *machine, qreal height); + ~Latch(); QRectF boundingRect() const; void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); |