diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index bf40951..7a79bcb 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -3359,6 +3359,7 @@ slot_tp_new(PyTypeObject *type, PyObject *args, PyObject *kwds) PyTuple_SET_ITEM(newargs, i+1, x); } x = PyObject_Call(func, newargs, kwds); + Py_DECREF(newargs); Py_DECREF(func); return x; } |