Skip to content

Commit

Permalink
[XrdCl] Make sure there are no leaks in FSH.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 15, 2018
1 parent eca0b93 commit 353ad0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/XrdCl/XrdClFileStateHandler.cc
Expand Up @@ -280,6 +280,12 @@ namespace XrdCl
// so we need to nullify the pointer
pHandler = 0;
}
else
{
delete status;
delete response;
delete hostList;
}
// destroy the object if it is
DestroyMyself( scopedLock );
}
Expand Down

0 comments on commit 353ad0a

Please sign in to comment.