diff options
Diffstat (limited to 'Objects/structseq.c')
-rw-r--r-- | Objects/structseq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c index 7231ce1..fdc56cb 100644 --- a/Objects/structseq.c +++ b/Objects/structseq.c @@ -22,7 +22,7 @@ PyStructSequence_New(PyTypeObject *type) { PyStructSequence *obj; - obj = PyMalloc_New(PyStructSequence, type); + obj = PyObject_New(PyStructSequence, type); obj->ob_size = VISIBLE_SIZE_TP(type); return (PyObject*) obj; @@ -37,7 +37,7 @@ structseq_dealloc(PyStructSequence *obj) for (i = 0; i < size; ++i) { Py_XDECREF(obj->ob_item[i]); } - PyMalloc_Del(obj); + PyObject_Del(obj); } static int |