summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/drag/_Dragmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/drag/_Dragmodule.c')
-rw-r--r--Mac/Modules/drag/_Dragmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/drag/_Dragmodule.c b/Mac/Modules/drag/_Dragmodule.c
index 8279325..357d7dc 100644
--- a/Mac/Modules/drag/_Dragmodule.c
+++ b/Mac/Modules/drag/_Dragmodule.c
@@ -84,7 +84,7 @@ int DragObj_Convert(PyObject *v, DragRef *p_itself)
static void DragObj_dealloc(DragObjObject *self)
{
Py_XDECREF(self->sendproc);
- PyMem_DEL(self);
+ PyObject_Del(self);
}
static PyObject *DragObj_DisposeDrag(DragObjObject *_self, PyObject *_args)