Skip to content

Commit

Permalink
ARROW-362: Remove redunant reference count
Browse files Browse the repository at this point in the history
Change-Id: I7c9b6af682d569cf2a7c335b1da4fed39632eae9
  • Loading branch information
xhochy committed Nov 3, 2016
1 parent e70d97d commit cc7a6b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/src/pyarrow/adapters/pandas.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cc7a6b3

Please sign in to comment.