Debugger: Fix memory leaks

Detected by memcheck.

Change-Id: I56c0c39f3aa2251d6425ddc9388fdebc511d7f47
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-03-13 22:15:19 +02:00
committed by Orgad Shaneh
parent 93ef19b232
commit e13f1a5047
2 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ namespace Internal {
Console::Console()
{
m_consoleItemModel = new ConsoleItemModel;
m_consoleItemModel = new ConsoleItemModel(this);
m_consoleWidget = new QWidget;
m_consoleWidget->setWindowTitle(displayName());