aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2016-09-28 17:14:57 -0700
committerGravatar GitHub <noreply@github.com>2016-09-28 17:14:57 -0700
commit2686bdbb9c757a819d3aeaf3b96d2da728ae1cc0 (patch)
tree79e7d8860a7df837698fa72c516fe01c02be359b /src/core
parent4f13db3c6cfaae52b6d7e35edaa352bccff70b66 (diff)
parentfa242cba900ece728d2910e7396d02ebab4ddb2c (diff)
Merge pull request #8237 from nicolasnoble/memleak
Plugging memory leak.
Diffstat (limited to 'src/core')
-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;
}