mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Replaced lots of PyMem_DEL() calls with PyObject_DEL().
This commit is contained in:
parent
422cdde69a
commit
0e2f798301
9 changed files with 16 additions and 16 deletions
|
@ -543,7 +543,7 @@ static void
|
|||
cdr_dealloc(self)
|
||||
cdrobject *self;
|
||||
{
|
||||
PyMem_DEL(self);
|
||||
PyObject_DEL(self);
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
@ -631,7 +631,7 @@ cdc_dealloc(self)
|
|||
cdcobject *self;
|
||||
{
|
||||
Py_XDECREF(self->routine);
|
||||
PyMem_DEL(self);
|
||||
PyObject_DEL(self);
|
||||
}
|
||||
|
||||
|
||||
|
@ -855,7 +855,7 @@ static void
|
|||
cdf_dealloc(self)
|
||||
cdfobject *self;
|
||||
{
|
||||
PyMem_DEL(self);
|
||||
PyObject_DEL(self);
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue