diff options
author | Craig Tiller <ctiller@google.com> | 2016-11-30 14:10:51 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-11-30 14:10:51 -0800 |
commit | a9cc625b26ad64918712450a1b706858325766f9 (patch) | |
tree | 087b71489233005bd874ea3149025dd16e3149d6 /src/core/lib/security/credentials/google_default | |
parent | e238b04c729c0469ac84bfe09164f3209ded90a4 (diff) |
Fix stack corruption
Diffstat (limited to 'src/core/lib/security/credentials/google_default')
-rw-r--r-- | src/core/lib/security/credentials/google_default/google_default_credentials.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/security/credentials/google_default/google_default_credentials.c b/src/core/lib/security/credentials/google_default/google_default_credentials.c index 7bed78daf7..4afeb4a3d2 100644 --- a/src/core/lib/security/credentials/google_default/google_default_credentials.c +++ b/src/core/lib/security/credentials/google_default/google_default_credentials.c @@ -160,6 +160,7 @@ static int is_stack_running_on_compute_engine(grpc_exec_ctx *exec_ctx) { grpc_polling_entity_pollset(&detector.pollent), &destroy_closure); g_polling_mu = NULL; + grpc_exec_ctx_flush(exec_ctx); gpr_free(grpc_polling_entity_pollset(&detector.pollent)); grpc_http_response_destroy(&detector.response); |