[api-fuzzer] Fix use-after-free in api-fuzzer (#30707)

pull/30758/head^2
Craig Tiller 2 years ago committed by GitHub
parent c3fd40e0bc
commit 7234a666cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/surface/call.cc

@ -768,6 +768,7 @@ void FilterStackCall::CancelWithError(grpc_error_handle error) {
GRPC_ERROR_UNREF(error);
return;
}
gpr_atm_rel_store(&peer_string_, 0);
InternalRef("termination");
// Inform the call combiner of the cancellation, so that it can cancel
// any in-flight asynchronous actions that may be holding the call

Loading…
Cancel
Save