summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorian.mcgreer%sun.com <devnull@localhost>2002-02-06 19:58:54 +0000
committerian.mcgreer%sun.com <devnull@localhost>2002-02-06 19:58:54 +0000
commit0d48874f98b1742ad93fdbc15d99afafeffe4511 (patch)
tree4f1b7fccf689239405883fea16117562caa88ee5
parentec8a1621c9483a50184158cfff63fa4de4d7d3ec (diff)
downloadnss-hg-0d48874f98b1742ad93fdbc15d99afafeffe4511.tar.gz
cleanup shutdown leak
-rw-r--r--security/nss/lib/pki/cryptocontext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/lib/pki/cryptocontext.c b/security/nss/lib/pki/cryptocontext.c
index 6e8c3a017..f713bcb10 100644
--- a/security/nss/lib/pki/cryptocontext.c
+++ b/security/nss/lib/pki/cryptocontext.c
@@ -68,6 +68,9 @@ NSSCryptoContext_Destroy
NSSCryptoContext *cc
)
{
+ if (cc->certStore) {
+ nssCertificateStore_Destroy(cc->certStore);
+ }
nssArena_Destroy(cc->arena);
return PR_SUCCESS;
}