Closed Bug 788356 Opened 13 years ago Closed 13 years ago

Valgrind detects leak at calloc, NewContext, Evaluate (8 bytes in 1 blocks are definitely lost)

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: gkw, Assigned: jorendorff)

References

Details

(Keywords: regression, testcase, valgrind)

Attachments

(2 files)

Attached file Valgrind stack
evaluate("",{newContext:true}) shows a Valgrind leak on js opt shell on m-c changeset 7c75cd38626a without any CLI arguments at calloc autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 94274:648093316d93 user: Jason Orendorff date: Thu May 17 18:54:30 2012 -0500 summary: Bug 755808 - Add more options to JS shell evaluate() function. r=jimb.
Assignee: general → jorendorff
Attached patch v1Splinter Review
Attachment #658721 - Flags: review?(jwalden+bmo)
I meant to add: Thanks, Gary. Does this fix it?
(In reply to Jason Orendorff [:jorendorff] from comment #2) > I meant to add: Thanks, Gary. Does this fix it? Yes, it does, thanks for the quick patch!
Severity: critical → normal
Attachment #658721 - Flags: review?(jwalden+bmo) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: