Closed
Bug 95659
Opened 23 years ago
Closed 23 years ago
memory leak in prustack.c
Categories
(NSPR :: NSPR, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
4.2
People
(Reporter: jeff, Assigned: wtc)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
the static variable _pr_stackLock is leaked.
consider adding the following function to
nsprpub/pr/src/threads/combined/prustack.c and
calling it from PR_Cleanup() (see the "XXX: ..."
comment near the bottom).
#if 1//begin JLH added ()
void _PR_CleanupStacks(void)
{
if (!_pr_stackLock)
return;
PR_DestroyLock(_pr_stackLock);
_pr_stackLock = NULL;
}
#endif//end JLH added ()
Comment 1•23 years ago
|
||
You should really start using the cvs diff -u command and attach that so it can
go straight into the tree (if you need help learning about it just email me
ksosez@softhome.net)
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
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 4.2
You need to log in
before you can comment on or make changes to this bug.
Description
•