diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-08-17 05:57:40 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-08-17 05:57:40 +0000 |
commit | cbe5c97fcb14d1da0d91956870f015c4918ac85e (patch) | |
tree | e0dfe36f4cdedd29ea362be6f7094ec88fedb87a | |
parent | ff572b58cf3181b4e025fdaf8124db23268ea39b (diff) | |
download | ATCD-cbe5c97fcb14d1da0d91956870f015c4918ac85e.tar.gz |
ChangeLogTag:Mon Aug 16 22:53:53 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
-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 |