diff options
author | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-12 13:34:57 +0000 |
---|---|---|
committer | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-12 13:34:57 +0000 |
commit | a841ca184751d004996ad69c849b6098c0136617 (patch) | |
tree | 5bcb440a40d30172a21f67fe3e6e24f33f919cce | |
parent | 071d70655228707546c4a540b8ab53238229daf3 (diff) | |
download | ATCD-a841ca184751d004996ad69c849b6098c0136617.tar.gz |
ChangeLogTag: Thu Apr 12 08:33:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | TAO/examples/PluggableUDP/DIOP/DIOP_Connector.cpp | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 329beec7532..2da427084f4 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Thu Apr 12 08:33:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de> + + * examples/PluggableUDP/DIOP/DIOP_Connector.cpp: + + Fixed memory leak, caused by not deleted connection handlers. + Thu Apr 12 06:50:00 2001 Balachandran Natarajan <bala@cs.wustl.edu> * examples/PluggableUDP/tests/SimplePerformance/server.cpp: diff --git a/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.cpp b/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.cpp index 889710881f0..1342c34e712 100644 --- a/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.cpp +++ b/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.cpp @@ -86,16 +86,14 @@ TAO_DIOP_Connector::close (void) // @@ Michael: UDP Addition ------------------------------------ // The list of service handlers cleans itself?? - /* SvcHandlerIterator iter (svc_handler_table_); while (!iter.done ()) { - // Delete the addr - delete (*iter).ext_id_; + // Delete the connection handler + delete (*iter).int_id_; iter++; } - */ // ----------------------------------------------------------------- // @@ Michael: We do not use traditional connection management. |