summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-07 00:06:36 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-07 00:06:36 (GMT)
commit262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3 (patch)
tree2d1549a07d82a0ab84238779e0549adbdce86b64 /src/declarative/util
parent6e93a32b5286cb6e2179a810ee5966abe5015f31 (diff)
downloadQt-262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3.zip
Qt-262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3.tar.gz
Qt-262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3.tar.bz2
Fix leaks.
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qmllistmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index 98c552f..0d9ea94 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -230,6 +230,7 @@ QmlListModel::QmlListModel(QObject *parent)
QmlListModel::~QmlListModel()
{
+ delete _root;
}
void QmlListModel::checkRoles() const