Closed Bug 714306 Opened 10 years ago Closed 10 years ago
Service handle leak in netwerk/base/src/ns
Autodial Win .cpp
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.
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).
Just fixed whitespace.
10 years ago
Attachment #584990 - Flags: review?(cbiesinger) → review+
Pushed to mozilla-inbound: http://hg.mozilla.org/integration/mozilla-inbound/rev/1cc0885caf02
Target Milestone: --- → mozilla12
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.