Kaydet (Commit) f0cab1f6 authored tarafından Neal Norwitz's avatar Neal Norwitz

Fix a refleak in recvfrom_into

üst ec0d6f83
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment