diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-10-24 11:15:17 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-10-24 11:20:52 +0200 |
commit | 1b1e8d61493e98aa96600d8639f52e0996e8c740 (patch) | |
tree | 628ec44bd43a6d36b719836c9d584837ded0b37b /src | |
parent | 308f065b7bd9d4cd43aa44ccfb06c0ab0a7ee1e2 (diff) |
unref resource quota on windows
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/iomgr/tcp_windows.cc | 1 |
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 dc84e564a9..ad939d3b50 100644 --- a/src/core/lib/iomgr/tcp_windows.cc +++ b/src/core/lib/iomgr/tcp_windows.cc @@ -442,6 +442,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; } |