diff options
author | Matus Valo <matusvalo@gmail.com> | 2017-09-05 07:38:28 -0700 |
---|---|---|
committer | Matus Valo <matusvalo@gmail.com> | 2017-09-05 07:38:28 -0700 |
commit | b212216078ab755835317c5f508b35947293b1f3 (patch) | |
tree | 0476a63761e23b197a5bb465c63c737670a7ee38 | |
parent | 593281d950e8bc95f5f83fa26c9aaa54d72e0a5c (diff) | |
download | librabbitmq-b212216078ab755835317c5f508b35947293b1f3.tar.gz |
Use Py_TYPE() instead of self->ob_type
-rw-r--r-- | Modules/_librabbitmq/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_librabbitmq/connection.c b/Modules/_librabbitmq/connection.c index 5216a80..3ab27ff 100644 --- a/Modules/_librabbitmq/connection.c +++ b/Modules/_librabbitmq/connection.c @@ -951,7 +951,7 @@ PyRabbitMQ_ConnectionType_dealloc(PyRabbitMQ_Connection *self) Py_XDECREF(self->callbacks); Py_XDECREF(self->client_properties); Py_XDECREF(self->server_properties); - self->ob_type->tp_free(self); + Py_TYPE(self)->tp_free(self); } |