Fix some bugs leading to memory leaks
diff --git a/src/core/surface/channel_connectivity.c b/src/core/surface/channel_connectivity.c
index a685a99..47cbab1 100644
--- a/src/core/surface/channel_connectivity.c
+++ b/src/core/surface/channel_connectivity.c
@@ -52,6 +52,7 @@
"grpc_channel_check_connectivity_state called on something that is "
"not a client channel, but '%s'",
client_channel_elem->filter->name);
+ grpc_exec_ctx_finish(&exec_ctx);
return GRPC_CHANNEL_FATAL_FAILURE;
}
state = grpc_client_channel_check_connectivity_state(