diff options
author | jhoffert <jhoffert@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-03-20 19:26:36 +0000 |
---|---|---|
committer | jhoffert <jhoffert@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-03-20 19:26:36 +0000 |
commit | 5c435161f74eb6cdb2d24f62c45696b1673b0b46 (patch) | |
tree | 1c572df46f659809ca1d6a670bdf0b5d55fea5ca | |
parent | 61c868e909e00f16c20d4732fac2037ba1b38835 (diff) | |
download | ATCD-5c435161f74eb6cdb2d24f62c45696b1673b0b46.tar.gz |
Fixing memory leaks
-rw-r--r-- | TAO/tests/Sequence_Iterators/Unbounded_Objectref.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/tests/Sequence_Iterators/Unbounded_Objectref.cpp b/TAO/tests/Sequence_Iterators/Unbounded_Objectref.cpp index 20c83be5273..9fb94ee4401 100644 --- a/TAO/tests/Sequence_Iterators/Unbounded_Objectref.cpp +++ b/TAO/tests/Sequence_Iterators/Unbounded_Objectref.cpp @@ -527,18 +527,16 @@ int test_const_sequence_reverse () /* * JWH2 - Memory leaks show up when duplicate is used. However, * seg faults occur if it's not used. - */ setup[0] = mock_reference::_duplicate (elem0); setup[1] = mock_reference::_duplicate (elem1); setup[2] = mock_reference::_duplicate (elem2); setup[3] = mock_reference::_duplicate (elem3); + */ - /* setup[0] = elem0; setup[1] = elem1; setup[2] = elem2; setup[3] = elem3; - */ // JWH2 - I think the double delete problem is here. Shouldn't the // underlying assignment operator make sure memory is allocated as |