diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-09-07 01:28:23 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-09-07 01:28:23 (GMT) |
commit | ef5eabdd58a9f584cff8b4e70b7eea583957114c (patch) | |
tree | cc42c5a4bb3201c552c465176bcbca8ae77fcea5 /src/declarative/qml/qdeclarativebinding.cpp | |
parent | 00ffa83f2dbe3b3019dc564d6b4447f83b5d655f (diff) | |
parent | 7253fe0cb58699d911f7f5b2dca28dd7182b1ef9 (diff) | |
download | Qt-ef5eabdd58a9f584cff8b4e70b7eea583957114c.zip Qt-ef5eabdd58a9f584cff8b4e70b7eea583957114c.tar.gz Qt-ef5eabdd58a9f584cff8b4e70b7eea583957114c.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Dragging in nested views no longer works as expected
Fix implicit height not growing when pre-edit text wraps.
Fix leak in State element.
Fix leak in bindings created by PropertyChanges.
Diffstat (limited to 'src/declarative/qml/qdeclarativebinding.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativebinding.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativebinding.cpp b/src/declarative/qml/qdeclarativebinding.cpp index 689cd00..9359196 100644 --- a/src/declarative/qml/qdeclarativebinding.cpp +++ b/src/declarative/qml/qdeclarativebinding.cpp @@ -254,6 +254,8 @@ QDeclarativeBinding::createBinding(Identifier id, QObject *obj, QDeclarativeCont cdata = typeData->compiledData(); } QDeclarativeBinding *rv = cdata ? new QDeclarativeBinding((void*)cdata->datas.at(id).constData(), cdata, obj, ctxtdata, url, lineNumber, parent) : 0; + if (cdata) + cdata->release(); if (typeData) typeData->release(); return rv; |