Commit bc80f4d2 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

cleanup

parent 05e744dc
......@@ -185,8 +185,6 @@ cdef extern from "numpy/arrayobject.h":
stack.append(iter(descr.fields.iteritems()))
def __releasebuffer__(ndarray self, Py_buffer* info):
# This can not be called unless format needs to be freed (as
# obj is set to NULL in those case)
if PyArray_HASFIELDS(self):
stdlib.free(info.format)
if sizeof(npy_intp) != sizeof(Py_ssize_t):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment