Closed Bug 408611 Opened 17 years ago Closed 17 years ago

Print to File leaks an nsStringBuffer

Categories

(Core :: Printing: Output, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cbook, Unassigned)

References

Details

(Keywords: memory-leak)

Attachments

(1 file)

Attached file leak log
Build: Build: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre)
Gecko/2007121517 Minefield/3.0b3pre


Steps to reproduce:
Go to http://litmus.mozilla.org
Select Print Preview
Print to File
Quite Firefox
- Leak

nsStringStats
 => mAllocCount:          52049
 => mReallocCount:         8693
 => mFreeCount:           52048  --  LEAKED 1 !!!
 => mShareCount:          59353
 => mAdoptCount:           6047
 => mAdoptFreeCount:       6047
Summary: Print to File leak → Print to File leaks an nsStringBuffer
Keywords: mlk
I don't see any trace-refcnt leaks with the equivalent action on Mac (Print > PDF > Save as PDF).
i'm currently not able to reproduce this leak, maybe this was caused by something else, closing as works for me for me
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: