aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcompileddata.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-05-29 19:05:27 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-05-31 06:55:20 +0000
commite5c76615b72abcae628ca7561c16eab71f1d3a0e (patch)
tree6c4f9c1b3b8205681512a2d51f1e54569a762177 /src/qml/qml/qqmlcompileddata.cpp
parentaf028f592b4934cbd92c42d94ee405f764edfb80 (diff)
Move dependent scripts to QV4::CompiledData::CompilationUnit
Change-Id: I85e8267ce4cd26ae83fe567357e1368658fdb43d Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlcompileddata.cpp')
-rw-r--r--src/qml/qml/qqmlcompileddata.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlcompileddata.cpp b/src/qml/qml/qqmlcompileddata.cpp
index 405bf57448..b25792054c 100644
--- a/src/qml/qml/qqmlcompileddata.cpp
+++ b/src/qml/qml/qqmlcompileddata.cpp
@@ -84,9 +84,6 @@ QQmlCompiledData::~QQmlCompiledData()
}
qDeleteAll(resolvedTypes);
resolvedTypes.clear();
-
- for (int ii = 0; ii < scripts.count(); ++ii)
- scripts.at(ii)->release();
}
void QQmlCompiledData::clear()