Use pymalloc if it's enabled.
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index e843e76..5803c57 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -1914,7 +1914,7 @@
dictiter_new(dictobject *dict, binaryfunc select)
{
dictiterobject *di;
- di = PyObject_NEW(dictiterobject, &PyDictIter_Type);
+ di = PyMalloc_New(dictiterobject, &PyDictIter_Type);
if (di == NULL)
return NULL;
Py_INCREF(dict);
@@ -1929,7 +1929,7 @@
dictiter_dealloc(dictiterobject *di)
{
Py_DECREF(di->di_dict);
- PyObject_DEL(di);
+ PyMalloc_Del(di);
}
static PyObject *