aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compileddata.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-16 17:25:58 +0200
committerLars Knoll <lars.knoll@digia.com>2013-08-16 19:18:48 +0200
commit0f0e7443aea0d9a203b380bec708c485a01450e0 (patch)
treec34a687f99964d9d97c535e6c3cf1fdc232aaebf /src/qml/compiler/qv4compileddata.cpp
parentbb8d91829c12b7742205eb96a0e8fbcc164c5e91 (diff)
Refcount the compilation unit and remove refcount from runtime function
Change-Id: Iaa2f96a6814f1b39589ffcfe3c84e3c229e25f1f Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4compileddata.cpp')
-rw-r--r--src/qml/compiler/qv4compileddata.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compileddata.cpp b/src/qml/compiler/qv4compileddata.cpp
index 4b7f132d97..59c6a9b7fd 100644
--- a/src/qml/compiler/qv4compileddata.cpp
+++ b/src/qml/compiler/qv4compileddata.cpp
@@ -58,6 +58,7 @@ CompilationUnit::~CompilationUnit()
delete [] runtimeLookups;
delete [] runtimeRegularExpressions;
free(runtimeClasses);
+ qDeleteAll(runtimeFunctions);
}
QV4::Function *CompilationUnit::linkToEngine(ExecutionEngine *engine)