diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-02 05:02:05 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-02 05:02:05 (GMT) |
commit | 9b31dbebb002da3eecd2d2fc2385098fb983c0c2 (patch) | |
tree | 72b4cbdc4cf4667dee9d8c6055d002e1d3d305ef /src/declarative/qml/qmlcompileddata.cpp | |
parent | 17035bd496d35364ff7f49ef9cc86b0a8c48fe1e (diff) | |
parent | 14827a4ae7fd531adc802219473d9822e696b982 (diff) | |
download | Qt-9b31dbebb002da3eecd2d2fc2385098fb983c0c2.zip Qt-9b31dbebb002da3eecd2d2fc2385098fb983c0c2.tar.gz Qt-9b31dbebb002da3eecd2d2fc2385098fb983c0c2.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlcompileddata.cpp')
-rw-r--r-- | src/declarative/qml/qmlcompileddata.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcompileddata.cpp b/src/declarative/qml/qmlcompileddata.cpp index 44d2745..9b931c5 100644 --- a/src/declarative/qml/qmlcompileddata.cpp +++ b/src/declarative/qml/qmlcompileddata.cpp @@ -167,7 +167,8 @@ QmlCompiledData::~QmlCompiledData() if (importCache) importCache->release(); - qDeleteAll(programs); + qDeleteAll(cachedPrograms); + qDeleteAll(cachedClosures); } QObject *QmlCompiledData::TypeReference::createInstance(QmlContext *ctxt, const QBitField &bindings) const |