]> 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:34 +0000 (01:25 -0800)
committerGitHub <noreply@github.com>
Thu, 15 Nov 2018 09:25:34 +0000 (01:25 -0800)
commitb5ea5e57f5dd23e1db695dda8bf3f6142ed9074f
tree01a6f27d4a483838d58271a2c1082749448b0201
parentb6b56b49e9d9b3e0e8b7bc24a6b1a55db6bc1da0
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