- Make sure that failure paths call CloseHandle - Fix inconsistent flags in GetFinalPathNameByHandleW calls - Move CloseHandle call from get_target_path to its calling function. - Add unit test to check that the fix works, and prevent regression
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Make sure that failure paths call CloseHandle outside of the function that failed (cherry picked from commit b82bfac) Co-authored-by: Mark Becwar <mark@thebecwar.com>
miss-islington added a commit that referenced this pull request
Make sure that failure paths call CloseHandle outside of the function that failed (cherry picked from commit b82bfac) Co-authored-by: Mark Becwar <mark@thebecwar.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters