diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2010-08-05 01:20:48 (GMT) |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2010-08-05 01:20:48 (GMT) |
commit | 5887d08ec3d80cfe431ee0d01fb769ba347bd6a8 (patch) | |
tree | 612fa0e50205b1d2bed5cf3e728d476289d0de41 /src/plugins | |
parent | 5749421fdaff0305d217712e3174c85a76b367c4 (diff) | |
download | Qt-5887d08ec3d80cfe431ee0d01fb769ba347bd6a8.zip Qt-5887d08ec3d80cfe431ee0d01fb769ba347bd6a8.tar.gz Qt-5887d08ec3d80cfe431ee0d01fb769ba347bd6a8.tar.bz2 |
dont leak these
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/bearer/connman/qconnmanengine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/bearer/connman/qconnmanengine.cpp b/src/plugins/bearer/connman/qconnmanengine.cpp index a1e7d37..3b5ae86 100644 --- a/src/plugins/bearer/connman/qconnmanengine.cpp +++ b/src/plugins/bearer/connman/qconnmanengine.cpp @@ -128,6 +128,7 @@ QList<QNetworkConfigurationPrivate *> QConnmanEngine::getConfigurations() config->bearerType = cpPriv->bearerType; fetchedConfigurations.append(config); + delete config; } return fetchedConfigurations; // return foundConfigurations; |