mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
Fix memory leak in arraymodule.c and respond to a few comments by nnorwitz.
This commit is contained in:
parent
30d1c51ac9
commit
b803c517bf
3 changed files with 19 additions and 23 deletions
|
|
@ -64,7 +64,6 @@ buffer_releasebuf(PyBufferObject *self, PyBuffer *view)
|
|||
(*bp->bf_releasebuffer)(self->b_base, view);
|
||||
}
|
||||
}
|
||||
/* XXX(nnorwitz): do we need to release view here? it leaks. */
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue