Closed Bug 44630 Opened 24 years ago Closed 24 years ago

leaking memory downloading imap headers

Categories

(MailNews Core :: Networking: IMAP, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: memory-leak, Whiteboard: [nsbeta2+])

As reported by dbaron, we leak several strings for every imap header downloaded.
The fix is trivial, since the strings are allocated in a single routine, and
need to be freed at the end of the routine.
I'd like to fix this for beta2. It's a trivial fix.
Status: NEW → ASSIGNED
Keywords: mlk, nsbeta2
moving to M17.
Target Milestone: --- → M17
Putting on [nsbeta2+] radar for beta2 fix. 
Whiteboard: [nsbeta2+]
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I'll mark verified, David. 
Status: RESOLVED → VERIFIED
Increasing fixed size buffer from 200 bytes to 512 bytes.
Checking in the ClientBranch!

Checking in prlog.c;
/cvsroot/mozilla/nsprpub/pr/src/io/prlog.c,v  <--  prlog.c
new revision: 3.14.24.3; previous revision: 3.14.24.2
done
I merged the fix on the NSPRPUB_RELEASE_4_0_BRANCH.
/cvsroot/mozilla/nsprpub/pr/src/io/prlog.c, revision: 3.14.10.3
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.