]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29734: nt._getfinalpathname handle leak (GH-740)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 2 Feb 2019 21:29:07 +0000 (13:29 -0800)
committerGitHub <noreply@github.com>
Sat, 2 Feb 2019 21:29:07 +0000 (13:29 -0800)
commit63a69ef4a2390cea3e102498ac7eeeb5546e82b6
tree09460a9dbabdc44a626cc87582b670ecd1fb3766
parent04b2a5eedac7ac0fecdafce1bda1028ee55e2aac
bpo-29734: nt._getfinalpathname handle leak (GH-740)

Make sure that failure paths call CloseHandle outside of the function that failed
(cherry picked from commit b82bfac4369c0429e562a834b3752e66c4821eab)

Co-authored-by: Mark Becwar <mark@thebecwar.com>
Lib/test/test_os.py
Misc/NEWS.d/next/Windows/2019-01-12-16-52-38.bpo-29734.6_OJwI.rst [new file with mode: 0644]
Modules/posixmodule.c