Closed
Bug 619769
Opened 14 years ago
Closed 13 years ago
FrameState::init leaks cursor when reifier.init() fails
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity, memory-leak, Whiteboard: fixed-in-cedar)
Attachments
(1 file)
921 bytes,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
69 FrameState::init() 70 { 89 uint8 *cursor = (uint8 *)cx->calloc(totalBytes); 90 if (!cursor) 91 return false; 92 93 #if defined JS_NUNBOX32 94 if (!reifier.init(nentries)) this leaks cursor: 95 return false;
Comment 2•13 years ago
|
||
Comment on attachment 498295 [details] [diff] [review] reorder Review of attachment 498295 [details] [diff] [review]: r=me
Attachment #498295 -
Flags: review?(jorendorff) → review+
Keywords: checkin-needed
Comment 3•13 years ago
|
||
http://hg.mozilla.org/projects/cedar/rev/7dcb9b3fa354
Flags: in-testsuite-
Keywords: checkin-needed
Whiteboard: fixed-in-cedar
Target Milestone: --- → mozilla6
Comment 4•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/7dcb9b3fa354
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•