From: Dag Sverre Seljebotn Date: Mon, 10 Nov 2008 13:15:31 +0000 (+0100) Subject: cleanup X-Git-Tag: 0.10.1~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc80f4d275a2e9240951fcbf90350d6cd9afcf0e;p=cython.git cleanup --- diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd index 3049ae53..ca840dc5 100644 --- a/Cython/Includes/numpy.pxd +++ b/Cython/Includes/numpy.pxd @@ -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):