]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32710: Fix leak in Overlapped_WSASend() (GH-11469)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 8 Jan 2019 13:40:50 +0000 (05:40 -0800)
committerGitHub <noreply@github.com>
Tue, 8 Jan 2019 13:40:50 +0000 (05:40 -0800)
commit88ad48bc98980a40591cc5521703dbb0ad3a9b17
tree3e2b6667268fc0091cfc573f8586d6b0b80cfd5f
parent69f64b67e43c65c2178c865fd1be80ed07f02d3c
bpo-32710: Fix leak in Overlapped_WSASend() (GH-11469)

Fix a memory leak in asyncio in the ProactorEventLoop when ReadFile()
or WSASend() overlapped operation fail immediately: release the
internal buffer.
(cherry picked from commit a234e148394c2c7419372ab65b773d53a57f3625)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Misc/NEWS.d/next/Library/2019-01-08-14-00-52.bpo-32710.Sn5Ujj.rst [new file with mode: 0644]
Modules/overlapped.c