diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-03-22 15:33:15 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-03-22 15:33:15 (GMT) |
commit | dcc819a5c9e3cb60eba05a3c0b2547bc1fb28b80 (patch) | |
tree | 124d72d29df550ba35d3a4b6ba66232619c85ee1 /Objects/dictobject.c | |
parent | a1a9c51a3ef06614413f45d51e65588bcd0793f2 (diff) | |
download | cpython-dcc819a5c9e3cb60eba05a3c0b2547bc1fb28b80.zip cpython-dcc819a5c9e3cb60eba05a3c0b2547bc1fb28b80.tar.gz cpython-dcc819a5c9e3cb60eba05a3c0b2547bc1fb28b80.tar.bz2 |
Use pymalloc if it's enabled.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 4 |
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 * |