summaryrefslogtreecommitdiff
path: root/ace/SSL/SSL_SOCK_Stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SSL/SSL_SOCK_Stream.cpp')
-rw-r--r--ace/SSL/SSL_SOCK_Stream.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/SSL/SSL_SOCK_Stream.cpp b/ace/SSL/SSL_SOCK_Stream.cpp
index f4d4ff8b924..c6b1bb99998 100644
--- a/ace/SSL/SSL_SOCK_Stream.cpp
+++ b/ace/SSL/SSL_SOCK_Stream.cpp
@@ -1,3 +1,5 @@
+// -*- C++ -*-
+//
// $Id$
#include "ace/Handle_Set.h"
@@ -51,6 +53,7 @@ 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