diff options
| author | Christian Heimes <christian@cheimes.de> | 2008-01-23 14:00:25 +0000 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2008-01-23 14:00:25 +0000 |
| commit | 501dbbfb70b123e34f764f50cfd0bf68098c95a0 (patch) | |
| tree | 051323f166d0c75cc09ff9b4d94a1e334e57c7af /Modules/mmapmodule.c | |
| parent | 66b4ab701be501a49424343cf02b103f4e5e9769 (diff) | |
| download | cpython-git-501dbbfb70b123e34f764f50cfd0bf68098c95a0.tar.gz | |
Use Py_TYPE() instead of ->ob_type
Diffstat (limited to 'Modules/mmapmodule.c')
| -rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 09e94653d8..bc153c96a6 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -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 * |
