diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_randommodule.c | 2 | ||||
-rw-r--r-- | Modules/bz2module.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 25adc2e..95b7ade 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c @@ -557,7 +557,7 @@ static PyTypeObject Random_Type = { 0, /*tp_init*/ 0, /*tp_alloc*/ random_new, /*tp_new*/ - _PyObject_Del, /*tp_free*/ + PyObject_Free, /*tp_free*/ 0, /*tp_is_gc*/ }; diff --git a/Modules/bz2module.c b/Modules/bz2module.c index 954c914..c913c3f 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -1336,7 +1336,7 @@ static PyTypeObject BZ2File_Type = { (initproc)BZ2File_init, /*tp_init*/ PyType_GenericAlloc, /*tp_alloc*/ PyType_GenericNew, /*tp_new*/ - _PyObject_Del, /*tp_free*/ + PyObject_Free, /*tp_free*/ 0, /*tp_is_gc*/ }; @@ -1612,7 +1612,7 @@ static PyTypeObject BZ2Comp_Type = { (initproc)BZ2Comp_init, /*tp_init*/ PyType_GenericAlloc, /*tp_alloc*/ PyType_GenericNew, /*tp_new*/ - _PyObject_Del, /*tp_free*/ + PyObject_Free, /*tp_free*/ 0, /*tp_is_gc*/ }; @@ -1836,7 +1836,7 @@ static PyTypeObject BZ2Decomp_Type = { (initproc)BZ2Decomp_init, /*tp_init*/ PyType_GenericAlloc, /*tp_alloc*/ PyType_GenericNew, /*tp_new*/ - _PyObject_Del, /*tp_free*/ + PyObject_Free, /*tp_free*/ 0, /*tp_is_gc*/ }; |