]> 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:46 +0000 (01:25 -0800)
committerGitHub <noreply@github.com>
Thu, 15 Nov 2018 09:25:46 +0000 (01:25 -0800)
commit2b6e77e778bc6f5b69384d6c13cb2015c13fc81e
treecfee15fb56969ff986845323e4ab92bdbfe3a75b
parent10a8e113be857c3af170b76d35fff9a72e65adf9
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