Closed Bug 908971 Opened 11 years ago Closed 11 years ago

jemalloc: fix uninitialized 'mapped' variable

Categories

(Core :: Memory Allocator, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: dougc, Assigned: dougc)

Details

Attachments

(1 file)

The 'mapped' variable in function 'malloc_print_stats' is uninitialized. Looks like it should be initialized to zero.
Attachment #794990 - Flags: review?(justin.lebar+bug)
Comment on attachment 794990 [details] [diff] [review]
Initialize 'mapped' to zero.

Whoops.
Attachment #794990 - Flags: review?(justin.lebar+bug) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/3650bc9fa36b
Assignee: nobody → dtc-moz
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: