diff --git a/Objects/genobject.c b/Objects/genobject.c index 0d5d54fdbaf..d403598181a 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -1031,7 +1031,7 @@ PyTypeObject _PyCoroWrapper_Type = { 0, /* tp_init */ 0, /* tp_alloc */ 0, /* tp_new */ - PyObject_Del, /* tp_free */ + 0, /* tp_free */ }; PyObject * @@ -1116,7 +1116,7 @@ PyTypeObject _PyAIterWrapper_Type = { 0, /* tp_init */ 0, /* tp_alloc */ 0, /* tp_new */ - PyObject_Del, /* tp_free */ + 0, /* tp_free */ };