Commit 772ca7a6 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

QmlProfiler: Fix memory leak

Detected by valgrind

Change-Id: I505e8dec83a0c9d3be648e43d9886debeb2a5b3b
Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
parent 09e59c58
......@@ -36,7 +36,9 @@ namespace QmlProfiler {
QmlProfilerBaseModel::QmlProfilerBaseModel(Utils::FileInProjectFinder *fileFinder,
QmlProfilerModelManager *manager,
QmlProfilerBaseModelPrivate *dd) : d_ptr(dd)
QmlProfilerBaseModelPrivate *dd)
: QObject(manager)
, d_ptr(dd)
{
Q_D(QmlProfilerBaseModel);
d->modelManager = manager;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment