mirror of https://github.com/python/cpython
Followup to r86170: fix reference leak in str.format
This commit is contained in:
parent
c275e15489
commit
a277ec4ad9
|
@ -509,7 +509,6 @@ get_field_object(SubString *input, PyObject *args, PyObject *kwargs,
|
|||
goto error;
|
||||
}
|
||||
Py_DECREF(key);
|
||||
Py_INCREF(obj);
|
||||
}
|
||||
else {
|
||||
/* look up in args */
|
||||
|
|
Loading…
Reference in New Issue