Blame SOURCES/00263-fix-ssl-reference-leaks.patch

71084d
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
71084d
index a3ea254..d0a3830 100644
71084d
--- a/Modules/_ssl.c
71084d
+++ b/Modules/_ssl.c
71084d
@@ -2564,7 +2564,9 @@ load_cert_chain(PySSLContext *self, PyObject *args, PyObject *kwds)
71084d
     }
71084d
     SSL_CTX_set_default_passwd_cb(self->ctx, orig_passwd_cb);
71084d
     SSL_CTX_set_default_passwd_cb_userdata(self->ctx, orig_passwd_userdata);
71084d
+    Py_XDECREF(keyfile_bytes);
71084d
     PyMem_Free(pw_info.password);
71084d
+    PyMem_Free(certfile_bytes);
71084d
     Py_RETURN_NONE;
71084d
 
71084d
 error: