Closed
Bug 93485
Opened 23 years ago
Closed 23 years ago
memory leak of PL_HashTable & SPKDigestInfo in CERT
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.4
People
(Reporter: jeff, Assigned: rrelyea)
References
Details
(Keywords: memory-leak, perf)
The SPKDigestInfo structure and the PL_HashTable that is contains
are not destroyed/deleted during shutdown. add the following
snippet to the nss/lib/certdb/pcertdb.c::CERT_Shutdown() function
suggested in bugs 93412 & 93450.
void CERT_Shutdown(CERTCertDBHandle * handle)
{
if (handle->spkDigestInfo)
{
SPKDigestInfo *spkDigestInfo = handle->spkDigestInfo;
if (spkDigestInfo->table)
{
PL_HashTableDestroy(spkDigestInfo->table);
}
PORT_Free(spkDigestInfo);
handle->spkDigestInfo = NULL;
}
}
Comment 1•23 years ago
|
||
Not sure how i missed this..marking new.
Comment 2•23 years ago
|
||
Assigned the bug to Bob.
Assignee: wtc → relyea
Priority: -- → P2
Target Milestone: --- → 3.4
Assignee | ||
Comment 3•23 years ago
|
||
The SPKDigestInfo is no longer part of NSS 3.4, so this is now 'fixed'
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•