Closed Bug 33310 Opened 24 years ago Closed 24 years ago

[MLK] Leaking nsIWeakReference

Categories

(SeaMonkey :: MailNews: Message Display, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: beard, Assigned: alecf)

References

()

Details

Attachments

(1 file)

This line:

 mServer = NS_GetWeakReference(server);

leaks a reference count, and should always be written as:

 mServer = getter_AddRefs(NS_GetWeakReference(server));
Reassigning to alecf, since he probably wrote the code.
Assignee: selmer → alecf
doh! thanks. I found 4 other occurances of this same broken pattern too
Status: NEW → ASSIGNED
all fixed, thanks to bruce for the review.

Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Keywords: verifyme
Verified in code.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: