summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c4
1 files changed, 2 insertions, 2 deletions
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 @@ static PyObject *
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 @@ static void
dictiter_dealloc(dictiterobject *di)
{
Py_DECREF(di->di_dict);
- PyObject_DEL(di);
+ PyMalloc_Del(di);
}
static PyObject *