aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/alu.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-01 00:12:52 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-01 00:12:52 +0200
commit3620538812a9df490ace6b3adf8bd120b7a0027b (patch)
tree884483c7d6e9c903b1499a6b702cd1d8551f1fd0 /qtmips_gui/coreview/alu.h
parent2408ca900657fdb81f85092a0612aeb6217fbe0f (diff)
downloadqtmips-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/alu.h')
-rw-r--r--qtmips_gui/coreview/alu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/coreview/alu.h b/qtmips_gui/coreview/alu.h
index ba87693..e0012e6 100644
--- a/qtmips_gui/coreview/alu.h
+++ b/qtmips_gui/coreview/alu.h
@@ -44,6 +44,7 @@ namespace coreview {
class Alu : public QGraphicsItem {
public:
Alu();
+ ~Alu();
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);