Skip to content

Commit

Permalink
[XrdCl] Add a bit of defensive programming.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Oct 4, 2021
1 parent b4c812e commit 502a0ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/XrdCl/XrdClAsyncSocketHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,8 @@ namespace XrdCl
if( done )
{
delete pHandShakeData;
pHandShakeData = nullptr;
hswriter.reset();
XRootDStatus st;
if( !(st = EnableUplink()).IsOK() )
{
Expand Down

0 comments on commit 502a0ca

Please sign in to comment.