An interpreted, interactive, object-oriented programming language
CentOS Sources
2017-08-01 71084d584ff953f5463757ec6536406320560b4d
commit | author | age
71084d 1 diff --git a/Modules/_ssl.c b/Modules/_ssl.c
CS 2 index a3ea254..d0a3830 100644
3 --- a/Modules/_ssl.c
4 +++ b/Modules/_ssl.c
5 @@ -2564,7 +2564,9 @@ load_cert_chain(PySSLContext *self, PyObject *args, PyObject *kwds)
6      }
7      SSL_CTX_set_default_passwd_cb(self->ctx, orig_passwd_cb);
8      SSL_CTX_set_default_passwd_cb_userdata(self->ctx, orig_passwd_userdata);
9 +    Py_XDECREF(keyfile_bytes);
10      PyMem_Free(pw_info.password);
11 +    PyMem_Free(certfile_bytes);
12      Py_RETURN_NONE;
13  
14  error: