Closed
Bug 982373
Opened 10 years ago
Closed 10 years ago
Leak of nsROCSSPrimitiveValue on early return from nsComputedDOMStyle::DoGetTextDecoration
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
(Keywords: memory-leak, Whiteboard: [lsan][MemShrink])
Attachments
(1 file)
1.71 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
Easy fix. I manually audited every |new| in nsComputedDOMStyle.cpp, and the rest look okay to me.
Comment 1•10 years ago
|
||
Yup, easy fix; we can just move the |val| decl down below the early returns. mccr8, did you want to take this? I'll be happy to review, if so; otherwise, I'm happy to take.
Comment 2•10 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #1) > mccr8, did you want to take this? (missed that you assigned it to yourself; sorry for the unnecessary noise. :))
Updated•10 years ago
|
Priority: -- → P4
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Comment on attachment 8389939 [details] [diff] [review] Don't leak val when we return early from nsComputedDOMStyle::DoGetTextDecoration(). Looks good to me.
Attachment #8389939 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=574500da56fc
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ae03abb86737
Keywords: checkin-needed
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ae03abb86737
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•