Skip to content

Commit

Permalink
Bug 1325035 - Fix leak CID 27117, r=mt
Browse files Browse the repository at this point in the history
Differential Revision: https://nss-review.dev.mozaws.net/D178

--HG--
extra : rebase_source : 40048c6d9d7d6aa675612b8f769009bf0f4a09e8
  • Loading branch information
franziskuskiefer committed Jan 29, 2017
1 parent 95c4d05 commit a9498d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ssl/sslcert.c
Expand Up @@ -737,7 +737,8 @@ ssl_AddCertChain(sslSocket *ss, CERTCertificate *cert,

keyPair = ssl_MakeKeyPairForCert(key, cert);
if (!keyPair) {
return SECFailure;
/* Error code is set by ssl_MakeKeyPairForCert */
goto loser;
}
rv = ssl_PopulateKeyPair(sc, keyPair);
ssl_FreeKeyPair(keyPair);
Expand Down

0 comments on commit a9498d3

Please sign in to comment.