diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-09-07 00:06:36 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-09-07 00:06:36 (GMT) |
commit | 262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3 (patch) | |
tree | 2d1549a07d82a0ab84238779e0549adbdce86b64 /src/declarative/util/qmllistmodel.cpp | |
parent | 6e93a32b5286cb6e2179a810ee5966abe5015f31 (diff) | |
download | Qt-262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3.zip Qt-262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3.tar.gz Qt-262c7d1fdc5dfbd8c2e9f84d1d3055735b5bc4b3.tar.bz2 |
Fix leaks.
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r-- | src/declarative/util/qmllistmodel.cpp | 1 |
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 |