Commit 68d3494e authored by Christian Heimes's avatar Christian Heimes

Use Py_TYPE() instead of ->ob_type

parent e8f5ff2d
......@@ -129,7 +129,7 @@ mmap_object_dealloc(mmap_object *m_obj)
}
#endif /* UNIX */
m_obj->ob_type->tp_free((PyObject*)m_obj);
Py_TYPE(m_obj)->tp_free((PyObject*)m_obj);
}
static PyObject *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment