Fix internal TSAN bug

pull/13822/head
Noah Eisen 7 years ago committed by GitHub
parent 1acca45e89
commit ffe6e03ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/lib/iomgr/error.cc

@ -749,7 +749,7 @@ const char* grpc_error_string(grpc_error* err) {
if (!gpr_atm_rel_cas(&err->atomics.error_string, 0, (gpr_atm)out)) {
gpr_free(out);
out = (char*)gpr_atm_no_barrier_load(&err->atomics.error_string);
out = (char*)gpr_atm_acq_load(&err->atomics.error_string);
}
GPR_TIMER_END("grpc_error_string", 0);

Loading…
Cancel
Save