ARROW-362: Remove redunant reference count

Change-Id: I7c9b6af682d569cf2a7c335b1da4fed39632eae9
This commit is contained in:
Uwe L. Korn committed 2016-11-03 18:32:45 +01:00
1 parent e70d97dbc8
commit cc7a6b35d6
1 file changed
-1
-1
View File
@@ -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,