commit | ed70129e15ea028469145111044a4349960a4e6f | [log] [tgz] |
---|---|---|
author | neonene <53406459+neonene@users.noreply.github.com> | Mon Sep 09 21:33:43 2019 +0900 |
committer | Steve Dower <steve.dower@python.org> | Mon Sep 09 05:33:43 2019 -0700 |
tree | 460ba098e0afe9dab035f62e1f08f67d074a82d4 | |
parent | b4612f5d54aced5bc37f1b85bf50b4cafa2480f0 [diff] |
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.