diff options
author | cbeaulac <cbeaulac@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-05-28 20:00:49 +0000 |
---|---|---|
committer | cbeaulac <cbeaulac@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-05-28 20:00:49 +0000 |
commit | 50f23da62c63c82f85061a9b54ebd74162fc0135 (patch) | |
tree | f5c198527853f9824fc3fd70549dfa687258ce49 /ACE/ace/Service_Repository.cpp | |
parent | 8227c4312a8788bb93183da173db9536739ea161 (diff) | |
download | ATCD-50f23da62c63c82f85061a9b54ebd74162fc0135.tar.gz |
Fri May 28 19:56:20 UTC 2010 Chad Beaulac <chad.beaulac@objectivesolutions.com>
* ace/Service_Repository.cpp
Fixed memory leak by removing this->service_array_[i] = 0
in fini method.
Bug was introduced by #3334 fix. This fixes it thanks
to Vladimir Zykov for pointing this out.
Diffstat (limited to 'ACE/ace/Service_Repository.cpp')
-rw-r--r-- | ACE/ace/Service_Repository.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ACE/ace/Service_Repository.cpp b/ACE/ace/Service_Repository.cpp index a7e032c6e56..49a22c87b88 100644 --- a/ACE/ace/Service_Repository.cpp +++ b/ACE/ace/Service_Repository.cpp @@ -173,7 +173,6 @@ ACE_Service_Repository::fini (void) // Collect any errors. retval += s->fini (); - this->service_array_[i] = 0; } } // |