Commit 81541f44 authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.4

parents 62d1c70e 4fd929b4
......@@ -5429,7 +5429,8 @@ socket_getaddrinfo(PyObject *self, PyObject *args, PyObject* kwargs)
goto err;
}
if ((all = PyList_New(0)) == NULL)
all = PyList_New(0);
if (all == NULL)
goto err;
for (res = res0; res; res = res->ai_next) {
PyObject *single;
......
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