diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-11-19 06:23:52 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-11-19 06:24:55 (GMT) |
commit | ac62887fe00eb22ea00622d4c3dab5ff40417e76 (patch) | |
tree | f6f9157191ed2ec2769de332b322bf4fab58c757 /src/declarative/qml/qdeclarativecompiler_p.h | |
parent | abfdba11b8948497765c24670becf39e2ce1ff6d (diff) | |
download | Qt-ac62887fe00eb22ea00622d4c3dab5ff40417e76.zip Qt-ac62887fe00eb22ea00622d4c3dab5ff40417e76.tar.gz Qt-ac62887fe00eb22ea00622d4c3dab5ff40417e76.tar.bz2 |
Don't leak QML compiled data objects
Task-number: QTBUG-14761
Diffstat (limited to 'src/declarative/qml/qdeclarativecompiler_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativecompiler_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativecompiler_p.h b/src/declarative/qml/qdeclarativecompiler_p.h index 43a0901..5cd1fd2 100644 --- a/src/declarative/qml/qdeclarativecompiler_p.h +++ b/src/declarative/qml/qdeclarativecompiler_p.h @@ -89,14 +89,12 @@ public: struct TypeReference { TypeReference() - : type(0), component(0), ref(0) {} + : type(0), component(0) {} QByteArray className; QDeclarativeType *type; -// QDeclarativeComponent *component; QDeclarativeCompiledData *component; - QDeclarativeRefCount *ref; QObject *createInstance(QDeclarativeContextData *, const QBitField &, QList<QDeclarativeError> *) const; const QMetaObject *metaObject() const; }; |