Closed Bug 57187 Opened 25 years ago Closed 25 years ago

reordering pointer assignment

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
mozilla0.8.1

People

(Reporter: dolafson, Assigned: rogerl)

Details

Attachments

(1 file)

in jsnum.c function js_strtod, i = estr - cstr is calculated after free(cstr). boundschecker marks this as an error. putting the free() directly after the assignment makes boundschecker happy and many misreported leaks disappear
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → mozilla0.8.1
Marking 0.8.1.
Attached patch Swapped linesSplinter Review
Another simple patch dying for a trivial review.
Status: NEW → ASSIGNED
sr=brendan@mozilla.org. I'm sure patrick or shaver would bless this change in a trice; why not put r=beard and roll them dice? /be
r=shaver.
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix Verified -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: