244881 Mem leak in SSLSocket getStatus
git-svn-id: svn://10.0.0.236/trunk@161704 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -566,9 +566,11 @@ finish:
|
||||
PR_Free(cipher);
|
||||
}
|
||||
if( issuer != NULL ) {
|
||||
PR_Free(issuer);
|
||||
PORT_Free(issuer);
|
||||
}
|
||||
if ( subject != NULL) {
|
||||
PORT_Free(subject);
|
||||
}
|
||||
/* subject is not allocated so it doesn't need to be freed */
|
||||
if( peerCert != NULL ) {
|
||||
CERT_DestroyCertificate(peerCert);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user