Skip to content

Commit 81541f4

Browse files
committed
merge 3.4
2 parents 62d1c70 + 4fd929b commit 81541f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: Modules/socketmodule.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -5429,7 +5429,8 @@ socket_getaddrinfo(PyObject *self, PyObject *args, PyObject* kwargs)
54295429
goto err;
54305430
}
54315431

5432-
if ((all = PyList_New(0)) == NULL)
5432+
all = PyList_New(0);
5433+
if (all == NULL)
54335434
goto err;
54345435
for (res = res0; res; res = res->ai_next) {
54355436
PyObject *single;

0 commit comments

Comments
 (0)