Closed Bug 71556 Opened 24 years ago Closed 24 years ago

nsFtpState::OnDataAvailable leaks

Categories

(Core :: Networking: FTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.1

People

(Reporter: dbaron, Assigned: dougt)

References

()

Details

(Keywords: memory-leak)

I just accessed an FTP site under the Boehm GC (twice, the second time it was ftp://ftp.mozilla.org/ -- I forget what the first was), and both times I saw leaks of memory allocated at nsFtpState::OnDataAvailable(nsIRequest *, nsISupports *, nsIInputStream *, unsigned int, unsigned int) /builds/seamonkey/mozilla/netwerk/protocol/ftp/src/nsFtpConnectionThread.cpp:264 which is the line: char* buffer = (char*)nsMemory::Alloc(aCount + 1); I'm not sure what's supposed to be freeing this memory, but whatever it is, it isn't in at least some cases.
Keywords: mlk
Target Milestone: --- → mozilla0.9.1
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA Contact: tever → benc
David: Can you verify this?
Keywords: verifyme
mass remove verifyme requests greater than 4 months old
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.