diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-12 00:27:33 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-12 00:27:33 (GMT) |
commit | c0c2352a287348469617811985d773ec4c3d1875 (patch) | |
tree | c5c2dd49a062a8ea2a04c8eb9815ed83185b0055 /src/declarative/qml/qmldom.cpp | |
parent | 20b9cfdfa2147627dc3ca5cf514402d08ff8d832 (diff) | |
download | Qt-c0c2352a287348469617811985d773ec4c3d1875.zip Qt-c0c2352a287348469617811985d773ec4c3d1875.tar.gz Qt-c0c2352a287348469617811985d773ec4c3d1875.tar.bz2 |
Cached programs and closures must be destroyed at shutdown
Diffstat (limited to 'src/declarative/qml/qmldom.cpp')
-rw-r--r-- | src/declarative/qml/qmldom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index e46ea96..52530db 100644 --- a/src/declarative/qml/qmldom.cpp +++ b/src/declarative/qml/qmldom.cpp @@ -145,7 +145,7 @@ bool QmlDomDocument::load(QmlEngine *engine, const QByteArray &data, const QUrl d->errors.clear(); d->imports.clear(); - QmlCompiledData *component = new QmlCompiledData; + QmlCompiledData *component = new QmlCompiledData(engine); QmlCompiler compiler; QmlCompositeTypeData *td = ((QmlEnginePrivate *)QmlEnginePrivate::get(engine))->typeManager.getImmediate(data, url); |