summaryrefslogtreecommitdiff
path: root/OpenSSL/ssl/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL/ssl/session.c')
-rw-r--r--OpenSSL/ssl/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/ssl/session.c b/OpenSSL/ssl/session.c
index fb9c83f..f9932a4 100644
--- a/OpenSSL/ssl/session.c
+++ b/OpenSSL/ssl/session.c
@@ -73,7 +73,7 @@ ssl_Session_dealloc(ssl_SessionObj *self) {
SSL_SESSION_free(self->session);
self->session = NULL;
}
- self->ob_type->tp_free((PyObject*)self);
+ Py_TYPE(self)->tp_free((PyObject*)self);
}
/*