QmlProfiler: Fix memory leak

Change-Id: Ieed04f3a11d2685de55b70ab501969778f6fc1dd
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Kai Koehne
2012-03-14 12:30:22 +01:00
committed by Christiaan Janssen
parent d014c2ca4b
commit de07c16a71
2 changed files with 2 additions and 0 deletions

View File

@@ -329,6 +329,7 @@ QmlProfilerEventList::QmlProfilerEventList(QObject *parent) :
QmlProfilerEventList::~QmlProfilerEventList()
{
clear();
delete d;
}
void QmlProfilerEventList::clear()

View File

@@ -283,6 +283,7 @@ QmlProfilerEventsMainView::~QmlProfilerEventsMainView()
{
clear();
delete d->m_model;
delete d;
}
void QmlProfilerEventsMainView::setEventStatisticsModel( QmlProfilerEventList *model )