summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiledbindings.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-18 04:16:52 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-18 04:16:52 (GMT)
commit014c811f8d178d585c4b05d8d35361dc93a5133d (patch)
treec101599378e0d193796bb026cb25d607b4697ba7 /src/declarative/qml/qdeclarativecompiledbindings.cpp
parent67fedb14501b47fec6892cf6b88739fba985b366 (diff)
downloadQt-014c811f8d178d585c4b05d8d35361dc93a5133d.zip
Qt-014c811f8d178d585c4b05d8d35361dc93a5133d.tar.gz
Qt-014c811f8d178d585c4b05d8d35361dc93a5133d.tar.bz2
Only release the binding once we're finished with its memory
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiledbindings.cpp')
-rw-r--r--src/declarative/qml/qdeclarativecompiledbindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecompiledbindings.cpp b/src/declarative/qml/qdeclarativecompiledbindings.cpp
index c8bff17..1acca2f 100644
--- a/src/declarative/qml/qdeclarativecompiledbindings.cpp
+++ b/src/declarative/qml/qdeclarativecompiledbindings.cpp
@@ -251,8 +251,8 @@ void QDeclarativeCompiledBindingsPrivate::Binding::destroy()
{
enabled = false;
removeFromObject();
- parent->q_func()->release();
clear();
+ parent->q_func()->release();
}
int QDeclarativeCompiledBindings::qt_metacall(QMetaObject::Call c, int id, void **)