From: Neal Norwitz Date: Thu, 8 Jun 2006 05:12:45 +0000 (+0000) Subject: Fix a refleak in recvfrom_into X-Git-Tag: v2.5b1~203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0cab1f6e2037ce6543c6de0cb66e5f7401a4f7b;p=python Fix a refleak in recvfrom_into --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 0322a061a6..262abe8f53 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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,