From 525b1c02d09d3b9740d13b2077a2b9f7429dc98d Mon Sep 17 00:00:00 2001 From: Nikki Date: Thu, 21 May 2015 16:01:07 -0400 Subject: [PATCH] Remove unneeded uv_close on buffer --- extension.cpp | 2 -- 1 file changed, 2 deletions(-) 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); }