Fix stack corruption

pull/8720/head
Craig Tiller 8 years ago
parent e238b04c72
commit a9cc625b26
  1. 1
      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), grpc_polling_entity_pollset(&detector.pollent),
&destroy_closure); &destroy_closure);
g_polling_mu = NULL; g_polling_mu = NULL;
grpc_exec_ctx_flush(exec_ctx);
gpr_free(grpc_polling_entity_pollset(&detector.pollent)); gpr_free(grpc_polling_entity_pollset(&detector.pollent));
grpc_http_response_destroy(&detector.response); grpc_http_response_destroy(&detector.response);

Loading…
Cancel
Save