diff --git a/proof/proofd/src/XrdProofdProtocol.cxx b/proof/proofd/src/XrdProofdProtocol.cxx
index 6e1202b888980d6e1c735f2831d5c4fa5414660f..ed0d5a67d7c23eb284187641e6017e6bf650795a 100644
--- a/proof/proofd/src/XrdProofdProtocol.cxx
+++ b/proof/proofd/src/XrdProofdProtocol.cxx
@@ -524,7 +524,7 @@ void XrdProofdProtocol::Reset()
       fAuthProt->Delete();
       fAuthProt = 0;
    }
-   fSecEntity.Reset();
+   fSecEntity = XrdSecEntity();
    // Cleanup existing XrdProofdResponse objects
    std::vector<XrdProofdResponse *>::iterator ii = fResponses.begin(); // One per each logical connection
    while (ii != fResponses.end()) {