Closed
Bug 20168
Opened 25 years ago
Closed 25 years ago
[MLK] Leaking a condition variable
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: beard, Assigned: brendan)
References
()
Details
JS_NewRuntime() creates rt->stateChange, but JS_DestroyRuntime() doesn't destroy
it. Here's a patch:
Index: mozilla/js/src/jsapi.c
===================================================================
RCS file: /cvsroot/mozilla/js/src/jsapi.c,v
retrieving revision 3.34
diff -r3.34 jsapi.c
654a655
> JS_DESTROY_CONDVAR(rt->stateChange);
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•25 years ago
|
||
D'oh! Swore I added that destroy when I added the condvar, but can't find it on XULDOMJS_19991106_BRANCH. Must have gotten lost due to fat fingers. Thanks, /be
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•25 years ago
|
||
Fix checked in. Thanks again, /be
You need to log in
before you can comment on or make changes to this bug.
Description
•