summaryrefslogtreecommitdiffstats
path: root/Source/cmConnection.cxx
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2017-07-19 18:47:01 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-31 19:35:03 (GMT)
commit546a58746967d10996075ca47a7198c1c375fdb2 (patch)
tree34c4e2f757e1cbeac3dc07c1dd5d06398821ba68 /Source/cmConnection.cxx
parent9bad65940c87f594a5f1007019d4b187068dbce0 (diff)
downloadCMake-546a58746967d10996075ca47a7198c1c375fdb2.zip
CMake-546a58746967d10996075ca47a7198c1c375fdb2.tar.gz
CMake-546a58746967d10996075ca47a7198c1c375fdb2.tar.bz2
server: Fixed mismatched new/delete; added proper shutdown procedure
Diffstat (limited to 'Source/cmConnection.cxx')
-rw-r--r--Source/cmConnection.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmConnection.cxx b/Source/cmConnection.cxx
index f3fc1ef..bc29e41 100644
--- a/Source/cmConnection.cxx
+++ b/Source/cmConnection.cxx
@@ -38,11 +38,6 @@ void cmEventBasedConnection::on_read(uv_stream_t* stream, ssize_t nread,
delete[](buf->base);
}
-void cmEventBasedConnection::on_close_delete(uv_handle_t* handle)
-{
- delete handle;
-}
-
void cmEventBasedConnection::on_close(uv_handle_t* /*handle*/)
{
}