clang static analyzer: silence warning

v1.29
Brad House 7 months ago
parent 4f9ac6a4d0
commit 10af2558e9
  1. 4
      src/lib/ares_event_win32.c

@ -339,7 +339,9 @@ typedef struct {
static void ares_afd_handle_destroy(void *arg)
{
ares_afd_handle_t *hnd = arg;
CloseHandle(hnd->afd_handle);
if (hnd != NULL && hnd->afd_handle != NULL) {
CloseHandle(hnd->afd_handle);
}
ares_free(hnd);
}

Loading…
Cancel
Save