Closed Bug 426971 Opened 16 years ago Closed 15 years ago

Leak an nsStringBuffer submitting a form in SeaMonkey

Categories

(Toolkit :: Form Manager, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: ajschult784, Unassigned)

References

Details

(Keywords: memory-leak, Whiteboard: [Fixed by bug 390025])

Attachments

(1 file)

Attached file testcase
Loading the attached testcase (which just submits a form) leaks 8 bytes from an nsStringBuffer according to XPCOM_MEM_LEAK_LOG.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008040614 Minefield/3.0pre

WFM.  XPCOM_MEM_LEAK_LOG doesn't report any leaks for me.  I tried with clicking each button in the dialog that appears when loading the testcase from Bugzilla, and I tried with the testcase as a local file.
ugh.  More detailed refcount logging indicates this is from that wonderful piece of code known as wallet.  I tracked it down to
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/extensions/wallet/src/wallet.cpp&rev=1.383&mark=2025#2021

we can't dump this soon enough  :)
Component: HTML: Form Submission → Form Manager
QA Contact: form-submission
Does that mean this bug affects SeaMonkey but not Firefox?
yes.  at least until we switch to toolkit passwordmgr
Summary: Leak an nsStringBuffer submitting a form → Leak an nsStringBuffer submitting a form in SeaMonkey
Depends on: 390025
Product: Core → Toolkit
QA Contact: form.manager
Andrew, this was fixed by bug 390025, wasn't it?
yes
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
V.Fixed ;-)
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
Whiteboard: [Fixed by bug 390025]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: