mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Notes:
* `PyList_Append` increments ref count, so new objects must be DECREF'd after being inserted
* `PyArray_SimpleNewFromDescr` does not set `NPY_ARRAY_OWNDATA`, neither does `NewFromDescr`
Author: Wes McKinney <wes.mckinney@twosigma.com>
Closes #685 from wesm/ARROW-1017 and squashes the following commits:
8459123 [Wes McKinney] Fix memory leak caused by list append ref count, lack of setting NPY_ARRAY_OWNDATA