diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-09-07 16:13:46 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-09-07 16:13:46 (GMT) |
commit | 4aed0ed39de64990df28e72082cd79f799297369 (patch) | |
tree | 57c5b1e7c771a0fd5976a0ba0a51e131b4646707 /src/declarative/qml | |
parent | 4cb429ce1e1ce5f1cecaceafbe74e6ebde2b6372 (diff) | |
parent | ef5eabdd58a9f584cff8b4e70b7eea583957114c (diff) | |
download | Qt-4aed0ed39de64990df28e72082cd79f799297369.zip Qt-4aed0ed39de64990df28e72082cd79f799297369.tar.gz Qt-4aed0ed39de64990df28e72082cd79f799297369.tar.bz2 |
Merge branch 4.7 into qt-4.8-from-4.7
Diffstat (limited to 'src/declarative/qml')
-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; |