Remove unneeded uv_close on buffer

This commit is contained in:
Nikki 2015-05-21 16:01:07 -04:00
parent 291dcfe41c
commit 525b1c02d0

View File

@ -338,8 +338,6 @@ void async_write(uv_async_t *handle) {
uv_write_t req;
uv_write(&req, data->ctx->connect_req->handle, &data->buf, 1, NULL);
uv_close((uv_handle_t *) &data->buf, NULL);
free(data->buf.base);
free(data);
}