aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compileddata_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-09-20 10:10:30 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 14:27:17 +0200
commit0615bced19d6cdeb30c0929c7d0988b0b5785850 (patch)
tree7362ef093339ee85970074e52b611c273a758fb4 /src/qml/compiler/qv4compileddata_p.h
parent5f6ae3598e30ed64697ac24cc09d609830f66eb2 (diff)
Fix crash in QV4::CompiledData::CompilationUnit
Don't crash when a CompilationUnit is created, never linked into an engine but instead deleted (because there was an error elsewhere compililing the rest of QML before it could reach the link-to-engine stage) Change-Id: Iff535009b6b4d1fc4004987c98730251a3a7d8d8 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r--src/qml/compiler/qv4compileddata_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h
index 6d4a3b7548..0362c55a65 100644
--- a/src/qml/compiler/qv4compileddata_p.h
+++ b/src/qml/compiler/qv4compileddata_p.h
@@ -445,6 +445,7 @@ struct Q_QML_EXPORT CompilationUnit
, ownsData(false)
, runtimeStrings(0)
, runtimeLookups(0)
+ , runtimeRegularExpressions(0)
, runtimeClasses(0)
{}
virtual ~CompilationUnit();