diff --git a/src/TensorFlowNET.Core/Status/c_api.status.cs b/src/TensorFlowNET.Core/Status/c_api.status.cs
index cfac49d1..ee17e447 100644
--- a/src/TensorFlowNET.Core/Status/c_api.status.cs
+++ b/src/TensorFlowNET.Core/Status/c_api.status.cs
@@ -51,7 +51,7 @@ namespace Tensorflow
///
///
[DllImport(TensorFlowLibName)]
- public static unsafe extern IntPtr TF_NewStatus();
+ public static extern IntPtr TF_NewStatus();
///
/// Record in *s. Any previous information is lost.
diff --git a/src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs b/src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
index 61cfbef3..625b424a 100644
--- a/src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
+++ b/src/TensorFlowNET.Core/Tensors/Tensor.Creation.cs
@@ -528,7 +528,6 @@ namespace Tensorflow
}
_handle = CreateTensorFromNDArray(nd, tensorDType);
- IsMemoryOwner = true;
}
private unsafe IntPtr CreateTensorFromNDArray(NDArray nd, TF_DataType? given_dtype)