mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
SSL_dealloc(): Apply the change suggested in SF bug #425370 which
changes the order of the free calls to be the reverse of the alloc calls. Closes that bug.
This commit is contained in:
parent
7c005af915
commit
cfb1675736
1 changed files with 1 additions and 1 deletions
|
@ -2627,8 +2627,8 @@ static void SSL_dealloc(SSLObject *self)
|
|||
{
|
||||
if (self->server_cert) /* Possible not to have one? */
|
||||
X509_free (self->server_cert);
|
||||
SSL_CTX_free(self->ctx);
|
||||
SSL_free(self->ssl);
|
||||
SSL_CTX_free(self->ctx);
|
||||
Py_XDECREF(self->x_attr);
|
||||
Py_XDECREF(self->Socket);
|
||||
PyObject_Del(self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue