diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-26 20:58:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-27 16:44:05 +0100 |
commit | 7988af18ff47308e90527d64d2973e163feafbba (patch) | |
tree | 6f60f164eabd0e2fa9e06e72e08e060828fd84a9 /xml2cmp | |
parent | callcatcher: remove some unused code (diff) | |
download | core-7988af18ff47308e90527d64d2973e163feafbba.tar.gz core-7988af18ff47308e90527d64d2973e163feafbba.zip |
fix memory leak
Change-Id: I61446b7f14a153f13c9d0f5541a3d675a620f601
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/source/xcd/dependy.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xml2cmp/source/xcd/dependy.cxx b/xml2cmp/source/xcd/dependy.cxx index 6e909d018582..093d4f5fdd5d 100644 --- a/xml2cmp/source/xcd/dependy.cxx +++ b/xml2cmp/source/xcd/dependy.cxx @@ -72,6 +72,8 @@ DependencyFinder::DependencyFinder() DependencyFinder::~DependencyFinder() { + for (Map_Services::const_iterator aIter = aServices.begin(); aIter != aServices.end(); ++aIter) + delete aIter->second; } void |