Fix for #1087741 patch.

This commit is contained in:
Georg Brandl 2008-01-22 19:56:03 +00:00
parent 48c6293500
commit d02fc48f67
2 changed files with 8 additions and 1 deletions

View file

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