Use pymalloc if it's enabled.

This commit is contained in:
Neil Schemenauer 2002-03-22 15:33:15 +00:00
parent a1a9c51a3e
commit dcc819a5c9
7 changed files with 24 additions and 24 deletions

View file

@ -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 *