message: incorporate previous changes to allocate_temp
diff: @@ -288,15 +288,18 @@ TF_Tensor* TF_AllocateTemp(TF_OpKernelContext* context, TF_DataType dtype,
  allocator_attr.set_on_host(true);
  }
  tensorflow::Status s;
  - tensorflow::Tensor tensor_temp;
  - TF_Tensor* tf_tensor_temp;
  + tensorflow::Tensor tensor;
  + TF_Tensor* tf_tensor;
  s = cc_ctx->allocate_temp(static_cast<tensorflow::DataType>(dtype), shape,
  &tensor_temp, allocator_attr);
  - if (s.ok()) {
  - tf_tensor_temp = TF_TensorFromTensor(tensor_temp, &s);
  + if (!s.ok()) {
  + ::tensorflow::Set_TF_Status_fromStatus(status, s);
  + return nullptr;
  }
  - if (s.ok()) {
  + tf_tensor = TF_TensorFromTensor(tensor, &s);
  + if (!s.ok()) {
  ::tensorflow::Set_TF_Status_from_Status(status, s);
  - return tf_tensor_temp;
  + return nullptr;
  }
  + return tf_tensor;
  }
  