[Numpy-discussion] Ticket review: #848, leak in PyArray_DescrFromType

Stéfan van der Walt stefan@sun.ac...
Wed Jul 16 16:41:52 CDT 2008

2008/7/16 Charles R Harris <charlesr.harris@gmail.com>:
> Yes, there does look to be a memory leak here. Not to mention a missing NULL
> check since PyArray_Scalar not only doesn't swallow a reference, it can't
> take a Null value for desc. But the whole function is such a mess I want to
> see if we can rewrite it to have a better flow of logic <puts on todo list>

Can we apply the patch in the meantime?  (My) TODO lists tend to get
very long...


More information about the Numpy-discussion mailing list