Skip to content

Commit

Permalink
only Py_DECREF the array
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Mar 29, 2018
1 parent ace8509 commit 0f60fbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/python/io/NumpyReader.cpp
Expand Up @@ -438,8 +438,6 @@ void NumpyReader::done(PointTableRef)
if (m_iter)
NpyIter_Deallocate(m_iter);

Py_XDECREF(m_dtype);
Py_XDECREF(m_iter);
Py_XDECREF(m_array);
}

Expand Down

0 comments on commit 0f60fbb

Please sign in to comment.