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,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 */