diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-15 07:57:50 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-15 07:57:50 (GMT) |
commit | c1f79fb0b4b778a2f41204aa62711060a3b021fc (patch) | |
tree | c7614c16d2adf84aed7e3bf13b093c5dc01501e9 /src/declarative/qml/qmlparser.cpp | |
parent | 958dc50e2b0fe2e875a704554438be75907ed3c5 (diff) | |
download | Qt-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.cpp | 4 |
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 |