]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix a possible reference leak in _socket.getaddrinfo(). (GH-10543)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 15 Nov 2018 09:25:58 +0000 (01:25 -0800)
committerGitHub <noreply@github.com>
Thu, 15 Nov 2018 09:25:58 +0000 (01:25 -0800)
commit2907d93889b67cda4041c4cb716521ee70af3703
treea30384829feed744d95279c9e20893bd8c77239d
parentb6f4472dc4190e2fd668490d86aeefd2ab0df935
Fix a possible reference leak in _socket.getaddrinfo(). (GH-10543)

"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d54aa6a55e9d2a3db78891e656ebbfb63c8)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Modules/socketmodule.c