diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-09 13:40:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 13:40:42 (GMT) |
commit | 472f37ab9a33050d7d50d1ebe33ba324a51c52c2 (patch) | |
tree | d99baf4903cd6f2a73eb7b68151e635965b6c76f /Lib/inspect.py | |
parent | 64f7f6efa0b6ccd5f942b0dd7c63978957d1660e (diff) | |
download | cpython-472f37ab9a33050d7d50d1ebe33ba324a51c52c2.zip cpython-472f37ab9a33050d7d50d1ebe33ba324a51c52c2.tar.gz cpython-472f37ab9a33050d7d50d1ebe33ba324a51c52c2.tar.bz2 |
bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632)
ssl_collect_certificates function in _ssl.c has a memory leak.
Calling CertOpenStore() and CertAddStoreToCollection(), a store's refcnt gets incremented by 2.
But CertCloseStore() is called only once and the refcnt leaves 1.
(cherry picked from commit ed70129e15ea028469145111044a4349960a4e6f)
Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Diffstat (limited to 'Lib/inspect.py')
0 files changed, 0 insertions, 0 deletions