summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <[email protected]>2015-05-10 11:17:44 +0200
committerRalf Habacker <[email protected]>2015-05-10 12:41:32 +0200
commitb2c94b0003eec73ad8534ed84aea01936acbc582 (patch)
treef3fdb425fdccb2b4db2c7a912fc9062f57b28cc3
parentda87d376a0cad8e12e0ae862af43e4f66b30ed60 (diff)
Fix memory leak in class UMLAppPrivate not deleting class member logWindow.
CCBUG:347498
-rw-r--r--umbrello/umlappprivate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/umbrello/umlappprivate.h b/umbrello/umlappprivate.h
index a734ef0..73f7f17 100644
--- a/umbrello/umlappprivate.h
+++ b/umbrello/umlappprivate.h
@@ -61,6 +61,11 @@ public:
connect(logWindow, SIGNAL(itemDoubleClicked(QListWidgetItem *)), this, SLOT(slotLogWindowItemDoubleClicked(QListWidgetItem *)));
}
+ ~UMLAppPrivate()
+ {
+ delete logWindow;
+ }
+
public slots:
void slotLogWindowItemDoubleClicked(QListWidgetItem *item)
{