mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Fix a refleak in recvfrom_into
This commit is contained in:
parent
ec0d6f83cd
commit
f0cab1f6e2
1 changed files with 1 additions and 1 deletions
|
@ -2478,7 +2478,7 @@ sock_recvfrom_into(PySocketSockObject *s, PyObject *args, PyObject* kwds)
|
|||
|
||||
/* Return the number of bytes read and the address. Note that we do
|
||||
not do anything special here in the case that readlen < recvlen. */
|
||||
return Py_BuildValue("lO", readlen, addr);
|
||||
return Py_BuildValue("lN", readlen, addr);
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(recvfrom_into_doc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue