diff options
author | nelson%bolyard.com <devnull@localhost> | 2008-11-19 16:08:05 +0000 |
---|---|---|
committer | nelson%bolyard.com <devnull@localhost> | 2008-11-19 16:08:05 +0000 |
commit | 0b861349c92922cb64b1238d8f0a53ea92a7dc52 (patch) | |
tree | 6e25c9ad3574255a665244ac54499c25925d07e2 /security/nss/lib/pki | |
parent | 0850e22374b18e4a24cb4312707ebb0547c7787b (diff) | |
download | nss-hg-0b861349c92922cb64b1238d8f0a53ea92a7dc52.tar.gz |
Bug 458905 - Memory leaks in PKIX bridge certificates. r=rrelyea
Diffstat (limited to 'security/nss/lib/pki')
-rw-r--r-- | security/nss/lib/pki/tdcache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/lib/pki/tdcache.c b/security/nss/lib/pki/tdcache.c index a7dc12ec2..39da57792 100644 --- a/security/nss/lib/pki/tdcache.c +++ b/security/nss/lib/pki/tdcache.c @@ -833,6 +833,9 @@ add_cert_to_cache ( goto loser; } #endif + } else { + /* A new subject entry was not created. arena is unused. */ + nssArena_Destroy(arena); } rvCert = cert; PZ_Unlock(td->cache->lock); |