projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7a5f616
)
Fix v8 handle leak in incubator code.
author
Glenn Watson
<glenn.watson@nokia.com>
Thu, 17 Nov 2011 02:46:27 +0000 (12:46 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Sun, 20 Nov 2011 23:39:05 +0000 (
00:39
+0100)
Release forceCompletion handle that is created in the constructor
to avoid a persistent handle being leaked.
Change-Id: I5b68d586e7a8e6ba48c018e21faac8108387fa2b
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/qml/qdeclarativecomponent.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/qml/qdeclarativecomponent.cpp
b/src/declarative/qml/qdeclarativecomponent.cpp
index
580ce5b
..
b95c75f
100644
(file)
--- a/
src/declarative/qml/qdeclarativecomponent.cpp
+++ b/
src/declarative/qml/qdeclarativecomponent.cpp
@@
-1277,6
+1277,7
@@
QDeclarativeComponentExtension::~QDeclarativeComponentExtension()
{
qPersistentDispose(incubationConstructor);
qPersistentDispose(initialProperties);
+ qPersistentDispose(forceCompletion);
}
QV8IncubatorResource::QV8IncubatorResource(QV8Engine *engine, IncubationMode m)