commit | f48f8a2e3417f93bc1f45930dbf9c4ea7523523d | [log] [tgz] |
---|---|---|
author | Dave Platt <dplatt@google.com> | Tue Mar 18 19:01:04 2014 -0700 |
committer | Dave Platt <dplatt@google.com> | Wed Mar 19 11:52:32 2014 -0700 |
tree | 293eb4bfe47196f2a99beb72c3143ed9c27a2fde | |
parent | 2fd068f98fa215f2681ddbe89fd7404d53218be3 [diff] |
Fix mDNS socket leak during network configuration changes Several rather important close() calls were embedded within assert() macros. Not a good idea, as the macros don't compile into anything at all in non-debug builds, and the close() calls disappear entirely. This could eventually lead to failure of the mDNS daemon when its file-descriptor table fills up with orphans. Bug: 13490553 Change-Id: I5978c055e8475d8f5be7e0242b80593b45ed71a1