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.
Created attachment 584988 [details] [diff] [review] Leak fix. Patch v1. 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).
Created attachment 584990 [details] [diff] [review] Leak fix. Patch v2. Just fixed whitespace.
7 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
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.