Closed Bug 95773 Opened 25 years ago Closed 25 years ago

memory leak in prenv.c

Categories

(NSPR :: NSPR, defect, P2)

4.1.2
x86
Windows 2000

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jeff, Assigned: wtc)

References

Details

(Keywords: memory-leak)

Attachments

(1 file)

there is a static lock variable allocated but not deleted in prenv.c add the following to nsprpub/pr/src/misc/prenv.c and call it from PR_Cleanup() (see the "XXX:..." comment near the bottom of the function) void _PR_CleanupEnv(void) { // TODO should make this a _PR_DELETE_LOCK_ENV() macro. if (_pr_envLock) { PR_DestroyLock(_pr_envLock); _pr_envLock = NULL; } }
Marking NEW thanks for the patch.
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: mlk, patch, review
Blocks: 92580
Fix checked in on the tip of NSPR.
Status: NEW → RESOLVED
Closed: 25 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 4.2
No longer blocks: 92580
Blocks: 129902
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: