Fix memory leak (#31154)

pull/31195/head
Esun Kim 3 years ago committed by GitHub
parent 3e648e3de7
commit a777f0eee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/iomgr/error.cc

@ -92,6 +92,7 @@ absl::Status grpc_wsa_error(const grpc_core::DebugLocation& location, int err,
GRPC_STATUS_UNAVAILABLE);
StatusSetStr(&s, grpc_core::StatusStrProperty::kOsError, utf8_message);
StatusSetStr(&s, grpc_core::StatusStrProperty::kSyscall, call_name);
gpr_free(utf8_message);
return s;
}
#endif

Loading…
Cancel
Save