@esindril commented on this pull request.
In src/XrdHttp/XrdHttpSecurity.cc:
> + +void +XrdHttpProtocol::HandleGridMap(XrdLink* lp) +{ + char bufname[256]; + XrdCryptoX509Chain chain; + XrdTlsPeerCerts* pc = lp->getPeerCerts(); + + if (myCryptoFactory && pc && + !myCryptoFactory->X509ParseStack()(pc, &chain)) { + TRACEI(DEBUG, "No certificate found in peer chain."); + delete pc; + return; + } + + delete pc;
There is (was) a delete for both the successful and the failure case, I don't see the leak here. Anyway not it's on the stack.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1