Skip to content
Snippets Groups Projects
Commit ead5b067 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: fix memory leak

Reviewed-by: Kai Koehne
parent a534c271
Branches
Tags
No related merge requests found
......@@ -256,7 +256,7 @@ bool PropertyMetaInfo::isValueType() const
throw InvalidMetaInfoException(__LINE__, Q_FUNC_INFO, __FILE__);
}
QDeclarativeValueType *valueType(QDeclarativeValueTypeFactory::valueType(variantTypeId()));
QScopedPointer<QDeclarativeValueType> valueType(QDeclarativeValueTypeFactory::valueType(variantTypeId()));
return valueType;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment