Closed Bug 16754 Opened 26 years ago Closed 26 years ago

[MLK] nsCharsetMenu::AddToInfoArray() leaks whenever it doubles array

Categories

(Core :: Internationalization, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: cata)

References

()

Details

When nsCharsetMenu::AddToInfoArray() needs to grow its array, it allocates a new array of a doubled size, copies all the elements over from the old array into the new array, and then uses the new array, but it forgets to free the now obsolete old array. Please fix this leak. [Note: leak found using beard's Boehm GC collector.]
Priority: P3 → P2
Target Milestone: M11
Whiteboard: Fix in local tree, waiting to checking when public tree opens.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Whiteboard: Fix in local tree, waiting to checking when public tree opens.
Fixed.
QA Contact: teruko → cata
Changed QA contact to cata@netscape.com
You need to log in before you can comment on or make changes to this bug.