Use Py_TYPE() instead of ->ob_type

This commit is contained in:
Christian Heimes 2008-01-23 14:00:25 +00:00
parent 66b4ab701b
commit 501dbbfb70
1 changed files with 1 additions and 1 deletions

View File

@ -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 *