diff --git a/extension.cpp b/extension.cpp index 7577c15..01fe635 100644 --- a/extension.cpp +++ b/extension.cpp @@ -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); }