Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 38655:e3c08f066eb8 legacy-trunk
Fix a refleak in recvfrom_into
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Thu, 08 Jun 2006 05:12:45 +0000 |
| parents | 1e38ff81c8a9 |
| children | 42808526511c |
line wrap: on
line diff
--- a/Modules/socketmodule.c Wed Jun 07 21:48:17 2006 +0000 +++ b/Modules/socketmodule.c Thu Jun 08 05:12:45 2006 +0000 @@ -2478,7 +2478,7 @@ /* 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,
