aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-25 12:59:21 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-25 13:00:57 -0700
commita4d9f267fbd0977c58ed21aad3984d0dbc64fcb3 (patch)
tree9db5e1e401e86bcfc8e65e115d830ea0bcd7c2e6 /src/core/iomgr
parentf209c587033d333705fe40ab349dc5ddda18df3a (diff)
fix gpr_slice leak in server on connection reset
Diffstat (limited to 'src/core/iomgr')
-rw-r--r--src/core/iomgr/tcp_windows.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/iomgr/tcp_windows.c b/src/core/iomgr/tcp_windows.c
index 123f46d71d..901793ec43 100644
--- a/src/core/iomgr/tcp_windows.c
+++ b/src/core/iomgr/tcp_windows.c
@@ -152,6 +152,7 @@ static void on_read(void *tcpp, int from_iocp) {
gpr_log(GPR_ERROR, "ReadFile overlapped error: %s", utf8_message);
gpr_free(utf8_message);
}
+ gpr_slice_unref(tcp->read_slice);
status = GRPC_ENDPOINT_CB_ERROR;
} else {
if (info->bytes_transfered != 0) {