340218: Coverity 910, memory leaks in CRMF code. r=nelson

git-svn-id: svn://10.0.0.236/trunk@217787 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alexei.volkov.bugs%sun.com 2007-01-05 00:00:50 +00:00
parent d908e39162
commit 60253eab1a

View File

@ -347,6 +347,7 @@ crmf_copy_cert_request(PRArenaPool *poolp, CRMFCertRequest *srcReq)
loser:
if (newReq != NULL && poolp == NULL) {
CRMF_DestroyCertRequest(newReq);
PORT_Free(newReq);
}
return NULL;
}