summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompileddata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlcompileddata.cpp')
-rw-r--r--src/declarative/qml/qmlcompileddata.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcompileddata.cpp b/src/declarative/qml/qmlcompileddata.cpp
index a46d893..a603d4e 100644
--- a/src/declarative/qml/qmlcompileddata.cpp
+++ b/src/declarative/qml/qmlcompileddata.cpp
@@ -160,6 +160,9 @@ QmlCompiledData::~QmlCompiledData()
types.at(ii).ref->release();
}
+ for (int ii = 0; ii < propertyCaches.count(); ++ii)
+ propertyCaches.at(ii)->release();
+
qDeleteAll(programs);
}