diff options
| author | Georg Brandl <georg@python.org> | 2008-01-22 19:56:03 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-01-22 19:56:03 +0000 |
| commit | d02fc48f67b140e8605a1c9e986f78c8bb8df531 (patch) | |
| tree | a63dc32762330282265ba14bd3f1e9681e005ded /Modules/mmapmodule.c | |
| parent | 48c6293500ef40104c3046713a2df8e951a7251c (diff) | |
| download | cpython-git-d02fc48f67b140e8605a1c9e986f78c8bb8df531.tar.gz | |
Fix for #1087741 patch.
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 dfbc8fc6e4..09e94653d8 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -129,7 +129,7 @@ mmap_object_dealloc(mmap_object *m_obj) } #endif /* UNIX */ - PyObject_Del(m_obj); + m_obj->ob_type->tp_free((PyObject*)m_obj); } static PyObject * |
