commit | 25d1807d23fb89213664274c2dada83fd12dee7d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Oct 01 15:55:28 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Oct 01 15:55:28 2001 +0000 |
tree | 4eee033a7f509fe1619327a4542ff6b133ca543c | |
parent | e9ba525c2b5481fbce0af633ce46733833ab1950 [diff] |
slot_tp_new(): newargs was leaking.
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 @@ PyTuple_SET_ITEM(newargs, i+1, x); } x = PyObject_Call(func, newargs, kwds); + Py_DECREF(newargs); Py_DECREF(func); return x; }