Skip to content

Commit 71061fa

Browse files
authored
Merge pull request #2508 from bear101/fix-https-session-memleak
Fix memory leak in ACE::HTTPS::Session_T
2 parents ffb39cd + 462ea84 commit 71061fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ACE/protocols/ace/INet/HTTPS_Session.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ namespace ACE
5454
#endif
5555
{
5656
INET_TRACE ("ACE_HTTPS_Session - ctor");
57-
this->close_streams ();
58-
this->close_connection ();
5957
}
6058

6159
template <ACE_SYNCH_DECL>
6260
Session_T<ACE_SYNCH_USE>::~Session_T ()
6361
{
6462
INET_TRACE ("ACE_HTTPS_Session - dtor");
63+
this->close_streams ();
64+
this->close_connection ();
6565
}
6666

6767
template <ACE_SYNCH_DECL>

0 commit comments

Comments
 (0)