File PyPAM-0.5.0-dealloc.patch of Package python-pam
--- PAMmodule.c +++ PAMmodule.c @@ -492,7 +492,7 @@ pam_end(self->pamh, PAM_SUCCESS); dlclose(self->dlh2); dlclose(self->dlh1); - PyMem_DEL(self); + PyObject_Del(self); } static PyObject * PyPAM_getattr(PyPAMObject *self, char *name)