aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-09-29 15:20:55 -0700
committerGravatar GitHub <noreply@github.com>2016-09-29 15:20:55 -0700
commit2587f20d08238abbbba35e7abcad41efa15cd020 (patch)
tree91da19911e83e70b4515e21d6f5c654fa5096c1a /src/core/lib
parentd24b822d73c8608a4838c8887d7ecddf39c324a0 (diff)
parentbeeeddd571b667278075799f566a79735eaa8137 (diff)
Merge pull request #8238 from nicolasnoble/master-upmerge-from-deep-under
Upmerge from 1.0.x
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/iomgr/tcp_windows.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/tcp_windows.c b/src/core/lib/iomgr/tcp_windows.c
index 35054c42b5..448a72671c 100644
--- a/src/core/lib/iomgr/tcp_windows.c
+++ b/src/core/lib/iomgr/tcp_windows.c
@@ -319,6 +319,7 @@ static void win_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep,
? GRPC_ERROR_NONE
: GRPC_WSA_ERROR(info->wsa_error, "WSASend");
grpc_exec_ctx_sched(exec_ctx, cb, error, NULL);
+ if (allocated) gpr_free(allocated);
return;
}