diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-12-09 09:37:21 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-12-09 09:37:21 -0800 |
commit | 08f477ecc9c26f725fc50104bf9b2bf003c2e1a1 (patch) | |
tree | 35cb061fdd8a3239d0c6a56ad632168aa3e8c69c /src/core | |
parent | 3ebb7cc10714178e540383d3970e2ebddcfab8a7 (diff) | |
parent | 359a291e9b499c0822fdea316784694705ed2170 (diff) |
Merge branch 'make_a_full_request' into make_a_slightly_unusual_request
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/surface/channel_create.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/surface/channel_create.c b/src/core/surface/channel_create.c index aceb932742..fe7e1072ac 100644 --- a/src/core/surface/channel_create.c +++ b/src/core/surface/channel_create.c @@ -218,6 +218,9 @@ grpc_channel *grpc_insecure_channel_create(const char *target, GRPC_CHANNEL_INTERNAL_REF(f->master, "subchannel_factory"); resolver = grpc_resolver_create(target, &f->base); if (!resolver) { + GRPC_CHANNEL_INTERNAL_UNREF(&exec_ctx, f->master, "subchannel_factory"); + grpc_subchannel_factory_unref(&exec_ctx, &f->base); + grpc_exec_ctx_finish(&exec_ctx); return NULL; } |