Fix netd fd leak when netlink sock connect fail

Bug: 301335710

When the netlink sock connection fails, an error message
is returned and the open sock needs to be closed

Change-Id: Ie56243320f664e326b9965eca227c7bb4a6a41b3
Signed-off-by: dongziqi <dongziqi1@xiaomi.corp-partner.google.com>
1 file changed
tree: 61f9a4e95759224813610bb6fd649b9992badb85
  1. client/
  2. include/
  3. netutils_wrappers/
  4. server/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING