summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlparser.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-15 07:57:50 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-15 07:57:50 (GMT)
commitc1f79fb0b4b778a2f41204aa62711060a3b021fc (patch)
treec7614c16d2adf84aed7e3bf13b093c5dc01501e9 /src/declarative/qml/qmlparser.cpp
parent958dc50e2b0fe2e875a704554438be75907ed3c5 (diff)
downloadQt-c1f79fb0b4b778a2f41204aa62711060a3b021fc.zip
Qt-c1f79fb0b4b778a2f41204aa62711060a3b021fc.tar.gz
Qt-c1f79fb0b4b778a2f41204aa62711060a3b021fc.tar.bz2
Fix memory leak
Diffstat (limited to 'src/declarative/qml/qmlparser.cpp')
-rw-r--r--src/declarative/qml/qmlparser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlparser.cpp b/src/declarative/qml/qmlparser.cpp
index 02f229e..8ee3b4e 100644
--- a/src/declarative/qml/qmlparser.cpp
+++ b/src/declarative/qml/qmlparser.cpp
@@ -76,6 +76,10 @@ QmlParser::Object::~Object()
prop->release();
foreach(Property *prop, signalProperties)
prop->release();
+ foreach(Property *prop, attachedProperties)
+ prop->release();
+ foreach(Property *prop, groupedProperties)
+ prop->release();
}
const QMetaObject *Object::metaObject() const