This commit is contained in:
Benjamin Peterson 2014-01-14 00:22:50 -05:00
commit 901acb4d89
1 changed files with 0 additions and 1 deletions

View File

@ -2864,7 +2864,6 @@ sock_recvfrom_into(PySocketSockObject *s, PyObject *args, PyObject* kwds)
return NULL;
buf = pbuf.buf;
buflen = pbuf.len;
assert(buf != 0 && buflen > 0);
if (recvlen < 0) {
PyBuffer_Release(&pbuf);