Skip to content

Commit

Permalink
Free bpxy in XrdSecProtocolgsi::Authenticate when using VOMS plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jthiltges authored and gganis committed Apr 13, 2017
1 parent fb55019 commit 730832e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XrdSecgsi/XrdSecProtocolgsi.cc
Expand Up @@ -1831,6 +1831,7 @@ int XrdSecProtocolgsi::Authenticate(XrdSecCredentials *cred,
// PEM base64
bpxy = (*X509ExportChain)(hs->Chain, true);
bpxy->ToString(spxy);
delete bpxy;
Entity.creds = strdup(spxy.c_str());
Entity.credslen = spxy.length();
} else {
Expand Down

0 comments on commit 730832e

Please sign in to comment.