cpython: df4efc23ab18 (original) (raw)
Mercurial > cpython
changeset 102769:df4efc23ab18 3.5
Fix a refleak in call_maybe() Issue #27128. Fix a reference leak if creating the tuple to pass positional parameters fails. [#27128]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Fri, 19 Aug 2016 17:58:12 +0200 |
parents | 2d4d40da2aba |
children | 14fa255ea5ff 97b996d81c62 |
files | Objects/typeobject.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-)[+] [-] Objects/typeobject.c 4 |
line wrap: on
line diff
--- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -1470,8 +1470,10 @@ call_maybe(PyObject *o, _Py_Identifier * va_end(va);
assert(PyTuple_Check(args)); retval = PyObject_Call(func, args, NULL);