diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2011-10-18 14:22:08 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-18 09:19:43 +0200 |
commit | c2863f69b7d8af33f88a42d1e77a6b393786a92e (patch) | |
tree | 2a30c912bdd08a0601b0d89fbfaa434cbf013892 /src | |
parent | 114a78616d5efdc3d8c3d93dcf6ba3bb624cd4a3 (diff) | |
download | qtlocation-c2863f69b7d8af33f88a42d1e77a6b393786a92e.tar.gz |
Fix memory leak and warnings on exit.
Change-Id: I5be0c125bc76cd6922b4501b53ec54dfcd72862e
Reviewed-by: abcd <amos.choy@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp b/src/imports/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp index 3d811421..71adf45b 100644 --- a/src/imports/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp +++ b/src/imports/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp @@ -111,6 +111,7 @@ QDeclarativeSupportedCategoriesModel::QDeclarativeSupportedCategoriesModel(QObje QDeclarativeSupportedCategoriesModel::~QDeclarativeSupportedCategoriesModel() { + qDeleteAll(m_categoriesTree); } // From QDeclarativeParserStatus |