Closed Bug 851563 Opened 11 years ago Closed 11 years ago

Memory leak in UnixSocketConsumer

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: echou, Assigned: echou)

Details

Attachments

(1 file)

Caller passes UnixSocketConnector instance into UnixSocketConsumer::ListenSocket() and UnixSocketConsumer::ConnectSocket(), in general cases, after an UnixSocketImpl instance is created, it will in charge of deleting the UnixSocketConnector instance by holding it with a nsAutoPtr. However, at the beginning of these two functions, it would check if mImpl already exists. If it does, then return - without deleting the UnixSocketConnector instance.
Assignee: nobody → echou
Attachment #725483 - Flags: review?(kyle) → review+
https://hg.mozilla.org/mozilla-central/rev/5c8569d8e01e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: