aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-09-29 02:17:29 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-09-29 02:17:29 +0200
commit73983637792501221c109e6b0c1acfce3cc7b095 (patch)
tree9c7a885121a9f70dfd1bf211b5687533817f8330 /src/core/lib
parent87a108121134e9603e3e60e732b23cbeb619be14 (diff)
parent2686bdbb9c757a819d3aeaf3b96d2da728ae1cc0 (diff)
Merge remote-tracking branch 'google/v1.0.x' into master-upmerge-from-deep-under
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;
}