Closed Bug 93485 Opened 23 years ago Closed 23 years ago

memory leak of PL_HashTable & SPKDigestInfo in CERT

Categories

(NSS :: Libraries, defect, P2)

x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED FIXED

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; } }
Not sure how i missed this..marking new.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: mlk, patch, perf, review
Blocks: 92580
No longer blocks: 92580
Depends on: 104741
Assigned the bug to Bob.
Assignee: wtc → relyea
Priority: -- → P2
Target Milestone: --- → 3.4
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.