summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompileddata.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-28 11:21:25 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-05 02:39:01 (GMT)
commit061c85a17ecb303676b548e6daef6e64967ca1e7 (patch)
tree76cc1c8b2d33c0040794f1c161e95b4694e1bbad /src/declarative/qml/qmlcompileddata.cpp
parentf9f878ca1fff08b6ea24507a84adfeb16d8938b6 (diff)
downloadQt-061c85a17ecb303676b548e6daef6e64967ca1e7.zip
Qt-061c85a17ecb303676b548e6daef6e64967ca1e7.tar.gz
Qt-061c85a17ecb303676b548e6daef6e64967ca1e7.tar.bz2
Use QScriptProgram to speed up binding creation
Diffstat (limited to 'src/declarative/qml/qmlcompileddata.cpp')
-rw-r--r--src/declarative/qml/qmlcompileddata.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcompileddata.cpp b/src/declarative/qml/qmlcompileddata.cpp
index b2e2d40..a46d893 100644
--- a/src/declarative/qml/qmlcompileddata.cpp
+++ b/src/declarative/qml/qmlcompileddata.cpp
@@ -159,6 +159,8 @@ QmlCompiledData::~QmlCompiledData()
if (types.at(ii).ref)
types.at(ii).ref->release();
}
+
+ qDeleteAll(programs);
}
QObject *QmlCompiledData::TypeReference::createInstance(QmlContext *ctxt, const QBitField &bindings) const