diff options
author | yang-g <yangg@google.com> | 2015-12-09 10:26:33 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-12-09 10:26:33 -0800 |
commit | 13affcb8e9f8a83682514fd64ac7b3130950629a (patch) | |
tree | 4d1074a99202645e047c8da592b6f5ccfbfe0ac5 /src/core/surface | |
parent | 5809d2bd7e83d042575c90d2568f7d2c44533108 (diff) | |
parent | 54834ba74be2eb58f12a5faac2d3c2c949ab4054 (diff) |
merge with head
Diffstat (limited to 'src/core/surface')
-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; } |