aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/resource_quota.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-09 14:25:32 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-09 14:25:32 -0800
commit5634ef6e4a86d284d973c400f49b6370ad6035eb (patch)
tree3b22d10c3d1583e29aba801a63c7cc2ad6926387 /src/core/lib/iomgr/resource_quota.c
parent4638d7ab64fd31547a30a71d6356105b2c1285d5 (diff)
Make combiners refcounted, to facilitate sharing
Diffstat (limited to 'src/core/lib/iomgr/resource_quota.c')
-rw-r--r--src/core/lib/iomgr/resource_quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/resource_quota.c b/src/core/lib/iomgr/resource_quota.c
index 2cc979467f..3c701164ad 100644
--- a/src/core/lib/iomgr/resource_quota.c
+++ b/src/core/lib/iomgr/resource_quota.c
@@ -599,7 +599,7 @@ grpc_resource_quota *grpc_resource_quota_create(const char *name) {
void grpc_resource_quota_unref_internal(grpc_exec_ctx *exec_ctx,
grpc_resource_quota *resource_quota) {
if (gpr_unref(&resource_quota->refs)) {
- grpc_combiner_destroy(exec_ctx, resource_quota->combiner);
+ grpc_combiner_unref(exec_ctx, resource_quota->combiner);
gpr_free(resource_quota->name);
gpr_free(resource_quota);
}