Closed Bug 235088 Opened 21 years ago Closed 21 years ago

nsMessenger::GetString() callers leak memory

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jst, Assigned: jst)

Details

Attachments

(1 file)

Every caller of nsMessenger::GetString() leaks the returned string buffer :-) Patch coming up.
This'll make the string object returned by GetString() do the memory management for us, just what nsAdoptingString was designed for! :-)
Attachment #141859 - Flags: superreview?(sspitzer)
Attachment #141859 - Flags: review?(sspitzer)
Taking bug.
Assignee: sspitzer → jst
Comment on attachment 141859 [details] [diff] [review] Enter nsAdoptingString :-) r=darin
Attachment #141859 - Flags: review?(sspitzer) → review+
Attachment #141859 - Flags: superreview?(sspitzer) → superreview?(mscott)
Comment on attachment 141859 [details] [diff] [review] Enter nsAdoptingString :-) very cool Johnny. I'll have to remember to try out your new nsAdoptingString going forward.
Attachment #141859 - Flags: superreview?(mscott) → superreview+
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: