mirror of https://github.com/getdnsapi/getdns.git
Remove uneeded check
libuv will always pass the handle to the close callback
This commit is contained in:
parent
d51840efd7
commit
edd2c81bc5
|
@ -83,9 +83,7 @@ getdns_libuv_timeout_cb(uv_timer_t* handle, int status) {
|
|||
|
||||
static void
|
||||
getdns_libuv_close_cb(uv_handle_t* handle) {
|
||||
if (handle) {
|
||||
free(handle);
|
||||
}
|
||||
free(handle);
|
||||
}
|
||||
|
||||
/* getdns extension functions */
|
||||
|
|
Loading…
Reference in New Issue