Closed
Bug 94153
Opened 23 years ago
Closed 23 years ago
memory/resource leak of arenaLock in plarena.c
Categories
(NSPR :: NSPR, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
4.2
People
(Reporter: jeff, Assigned: wtc)
References
Details
(Keywords: memory-leak, Whiteboard: Possible patch included in text)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
in nsprpub/lib/ds/plarena.c there is a static lock
variable "arenaLock" that is never destroyed.
consider adding the following to the bottom of PL_ArenaFinish():
if (arenaLock)
{
PR_DestroyLock(arenaLock);
arenaLock = NULL;
}
Comment 1•23 years ago
|
||
Marking NEW. Thanks for the patch.
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Fix checked in on 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
•