Replaced lots of PyMem_DEL() calls with PyObject_DEL().
diff --git a/Mac/Modules/icgluemodule.c b/Mac/Modules/icgluemodule.c
index 3061f98..1368ff2 100644
--- a/Mac/Modules/icgluemodule.c
+++ b/Mac/Modules/icgluemodule.c
@@ -460,7 +460,7 @@
return NULL;
if ((err=ICStart(&self->inst, creator)) != 0 ) {
(void)PyMac_Error(err);
- PyMem_DEL(self);
+ PyObject_DEL(self);
return NULL;
}
return self;
@@ -471,7 +471,7 @@
ici_dealloc(iciobject *self)
{
(void)ICStop(self->inst);
- PyMem_DEL(self);
+ PyObject_DEL(self);
}
static PyObject *