From cbe5c97fcb14d1da0d91956870f015c4918ac85e Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Tue, 17 Aug 2004 05:57:40 +0000 Subject: ChangeLogTag:Mon Aug 16 22:53:53 2004 Ossama Othman --- ChangeLog | 8 ++++++++ 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 + + * 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 * 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 -- cgit v1.2.1