diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2012-12-04 11:30:26 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-12-04 16:58:26 +0100 |
commit | 070e0d07d821342bfbe7a409a51c4c53185c62c7 (patch) | |
tree | c9c8679b243095f1b038cab38f26853e60954e99 /qmljs_engine.h | |
parent | a2b6483dbebd0faa768e049d69d9aa621b8e0fad (diff) |
Fix another memory leak.
Now we should only leak objects that are VM::Values, and directly
related objects like the PropertyTable. The directly related ones will
disappear through destructor calls when the VM::Values are GC-ed.
Change-Id: Id221ac62a22671d86bbc6ac9beea49d2bd5b330d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qmljs_engine.h')
-rw-r--r-- | qmljs_engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmljs_engine.h b/qmljs_engine.h index a6f1808676..d47c2d46b6 100644 --- a/qmljs_engine.h +++ b/qmljs_engine.h @@ -150,6 +150,7 @@ struct ExecutionEngine struct StringPool *stringPool; ExecutionEngine(EvalISelFactory *iselFactory); + ~ExecutionEngine(); ExecutionContext *newContext(); |