Remove uneeded check

libuv will always pass the handle to the close callback
This commit is contained in:
Saúl Ibarra Corretgé 2014-03-05 10:34:02 +01:00
parent d51840efd7
commit edd2c81bc5
1 changed files with 1 additions and 3 deletions

View File

@ -83,10 +83,8 @@ getdns_libuv_timeout_cb(uv_timer_t* handle, int status) {
static void static void
getdns_libuv_close_cb(uv_handle_t* handle) { getdns_libuv_close_cb(uv_handle_t* handle) {
if (handle) {
free(handle); free(handle);
} }
}
/* getdns extension functions */ /* getdns extension functions */
static getdns_return_t static getdns_return_t