Closed
Bug 71556
Opened 24 years ago
Closed 24 years ago
nsFtpState::OnDataAvailable leaks
Categories
(Core :: Networking: FTP, defect)
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.
Assignee | ||
Comment 1•24 years ago
|
||
Target Milestone: --- → mozilla0.9.1
Assignee | ||
Comment 2•24 years ago
|
||
Fix checked in. r=neeti@netscape.com. sr=darin@netscape.com
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•