Closed Bug 96197 Opened 24 years ago Closed 24 years ago

memory leak in prinit.c of CallOnce lock vars

Categories

(NSPR :: NSPR, defect, P2)

4.1.2
defect

Tracking

(Not tracked)

RESOLVED FIXED

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; }
Marking NEw...whooohoo :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: mlk, patch, perf, review
Blocks: 92580
No longer blocks: 92580
Patch checked into the tip of NSPR.
Status: NEW → RESOLVED
Closed: 24 years ago
OS: Windows 2000 → All
Priority: -- → P2
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → 4.2
Blocks: 129902
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: