aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_windows.cc
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2017-10-26 18:51:49 +0200
committerGravatar GitHub <noreply@github.com>2017-10-26 18:51:49 +0200
commita2465b02f283425b6355707800100a7504a62ee2 (patch)
treea664560ee76ef6359fe4a3a9fe76f8e433b7263d /src/core/lib/iomgr/tcp_windows.cc
parent255c590bc62c4f2d74804631df6784bc9b023fb0 (diff)
parent1b1e8d61493e98aa96600d8639f52e0996e8c740 (diff)
Merge pull request #13119 from jtattermusch/core_win_unref_res_quota_master
Try unref resource quota in Windows (for upstream/master)
Diffstat (limited to 'src/core/lib/iomgr/tcp_windows.cc')
-rw-r--r--src/core/lib/iomgr/tcp_windows.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/tcp_windows.cc b/src/core/lib/iomgr/tcp_windows.cc
index 5aba5078a8..6efcff84b8 100644
--- a/src/core/lib/iomgr/tcp_windows.cc
+++ b/src/core/lib/iomgr/tcp_windows.cc
@@ -452,6 +452,7 @@ grpc_endpoint *grpc_tcp_create(grpc_exec_ctx *exec_ctx, grpc_winsocket *socket,
tcp->resource_user = grpc_resource_user_create(resource_quota, peer_string);
/* Tell network status tracking code about the new endpoint */
grpc_network_status_register_endpoint(&tcp->base);
+ grpc_resource_quota_unref_internal(exec_ctx, resource_quota);
return &tcp->base;
}