[issue7385] MemoryView_FromObject crashes if PyBuffer_GetBuffer fails

Antoine Pitrou report at bugs.python.org
Tue Feb 2 20:39:48 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

When PyMemoryView_FromObject() doesn't return NULL, you should decref the result. Otherwise, it's "perfect".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7385>
_______________________________________


More information about the Python-bugs-list mailing list