summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexei.volkov.bugs%sun.com <devnull@localhost>2007-01-05 00:00:50 +0000
committeralexei.volkov.bugs%sun.com <devnull@localhost>2007-01-05 00:00:50 +0000
commit6783a0a1affd46f2551d56d4e3e663a1f471c9ce (patch)
tree7deeab8e357a8e101d5367d775ba4a22e1105568
parent94686aac7c210089ae75b9db85563e9bc49196a6 (diff)
downloadnss-hg-6783a0a1affd46f2551d56d4e3e663a1f471c9ce.tar.gz
340218: Coverity 910, memory leaks in CRMF code. r=nelson
-rw-r--r--security/nss/lib/crmf/crmfget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/nss/lib/crmf/crmfget.c b/security/nss/lib/crmf/crmfget.c
index 837ecf521..05d8e7d54 100644
--- a/security/nss/lib/crmf/crmfget.c
+++ b/security/nss/lib/crmf/crmfget.c
@@ -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;
}