Closed
Bug 714306
Opened 13 years ago
Closed 13 years ago
Service handle leak in netwerk/base/src/nsAutodialWin.cpp
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: bbondy, Assigned: bbondy)
Details
Attachments
(1 file, 1 obsolete file)
1.90 KB,
patch
|
Biesinger
:
review+
|
Details | Diff | Splinter Review |
The calls to OpenSCManager and OpenServiceW in netwerk/base/src/nsAutodialWin.cpp return service handles. Those handles should be closed but are never being closed.
Assignee | ||
Comment 1•13 years ago
|
||
Service handles were not being closed on any return path.
I'll land this after bug 481815 lands which defines nsAutoServiceHandle (an RAII class for ensuring service handles are closed).
Attachment #584988 -
Flags: review?(bsmith)
Assignee | ||
Comment 2•13 years ago
|
||
Just fixed whitespace.
Attachment #584988 -
Attachment is obsolete: true
Attachment #584988 -
Flags: review?(bsmith)
Attachment #584990 -
Flags: review?(bsmith)
Attachment #584990 -
Flags: review?(bsmith) → review?(cbiesinger)
Updated•13 years ago
|
Attachment #584990 -
Flags: review?(cbiesinger) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Pushed to mozilla-inbound:
http://hg.mozilla.org/integration/mozilla-inbound/rev/1cc0885caf02
Target Milestone: --- → mozilla12
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•