Closed
Bug 96197
Opened 23 years ago
Closed 23 years ago
memory leak in prinit.c of CallOnce lock vars
Categories
(NSPR :: NSPR, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
4.2
People
(Reporter: jeff, Assigned: wtc)
References
Details
(Keywords: memory-leak, perf)
Attachments
(1 file)
the CallOnce lock variables in prinit.c are not destroyed. please add the following function to nsprpub/pr/src/misc/prinit.c and call it from somewhere near the bottom of PR_Cleanup(). void _PR_CleanupCallOnce(void) { PR_DestroyLock(mod_init.ml); mod_init.ml = NULL; PR_DestroyCondVar(mod_init.cv); mod_init.cv = NULL; }
Comment 1•23 years ago
|
||
Marking NEw...whooohoo :)
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Patch checked into the tip of NSPR.
Status: NEW → RESOLVED
Closed: 23 years ago
OS: Windows 2000 → All
Priority: -- → P2
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → 4.2
You need to log in
before you can comment on or make changes to this bug.
Description
•