diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ace/SSL/SSL_SOCK_Stream.cpp | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index fe7e0fcf3e9..77dff39c999 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Mon Aug 16 22:53:53 2004 Ossama Othman <ossama@dre.vanderbilt.edu> + + * ace/SSL/SSL_SOCK_Stream.cpp (~ACE_SSL_SOCK_Stream): + + Removed useless invalidation of "ssl_" pointer member by + assignment of zero. Once the destructor is called, the object + no longer exists so invalidation is unnecessary. + Mon Aug 16 16:54:18 2004 J.T. Conklin <jtc@acorntoolworks.com> * bin/MakeProjectCreator/config/ftorbutils.mpb diff --git a/ace/SSL/SSL_SOCK_Stream.cpp b/ace/SSL/SSL_SOCK_Stream.cpp index c6b1bb99998..f4d4ff8b924 100644 --- a/ace/SSL/SSL_SOCK_Stream.cpp +++ b/ace/SSL/SSL_SOCK_Stream.cpp @@ -1,5 +1,3 @@ -// -*- C++ -*- -// // $Id$ #include "ace/Handle_Set.h" @@ -53,7 +51,6 @@ ACE_SSL_SOCK_Stream::~ACE_SSL_SOCK_Stream (void) ACE_TRACE ("ACE_SSL_SOCK_Stream::~ACE_SSL_SOCK_Stream"); ::SSL_free (this->ssl_); - this->ssl_ = 0; // @@ Question: should we reference count the Context object or // leave that to the application developer? We do not reference |