mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
ARROW-362: Remove redunant reference count
Change-Id: I7c9b6af682d569cf2a7c335b1da4fed39632eae9
This commit is contained in:
1 parent
e70d97dbc8
commit
cc7a6b35d6
1 file changed
-1
@@ -628,7 +628,6 @@ class ArrowDeserializer {
|
||||
PyAcquireGIL lock;
|
||||
|
||||
// Zero-Copy. We can pass the data pointer directly to NumPy.
|
||||
Py_INCREF(py_ref_);
|
||||
OwnedRef py_ref(py_ref_);
|
||||
npy_intp dims[1] = {col_->length()};
|
||||
out_ = reinterpret_cast<PyArrayObject*>(PyArray_SimpleNewFromData(1, dims,
|
||||
|
||||
Reference in new issue
Block a user