summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-11-19 06:23:52 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-11-19 06:24:55 (GMT)
commitac62887fe00eb22ea00622d4c3dab5ff40417e76 (patch)
treef6f9157191ed2ec2769de332b322bf4fab58c757 /src/declarative/qml/qdeclarativecompiler_p.h
parentabfdba11b8948497765c24670becf39e2ce1ff6d (diff)
downloadQt-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.h4
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;
};