Closed Bug 127941 Opened 24 years ago Closed 24 years ago

nsRecyclingAllocator does extra memset(0)

Categories

(Core :: XPCOM, defect, P3)

x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
mozilla0.9.9

People

(Reporter: dp, Assigned: dp)

Details

Attachments

(1 file)

If the requested size is == size of buffer, nsRecyclingAllocator does an extra memset(0) irrespective of zeroit.
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.0
This patch also fixes a leak of the bucket memory
r/sr : dougt/shaver ?
Keywords: nsbeta1
Comment on attachment 71576 [details] [diff] [review] memset() to 0 only if zeroit is set r=dougt.
Attachment #71576 - Flags: review+
Comment on attachment 71576 [details] [diff] [review] memset() to 0 only if zeroit is set sr=shaver.
Attachment #71576 - Flags: superreview+
Comment on attachment 71576 [details] [diff] [review] memset() to 0 only if zeroit is set a=shaver for 0.9.9.
Attachment #71576 - Flags: approval+
Fixed for 0.9.9
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.0 → mozilla0.9.9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: