Kaydet (Commit) a277ec4a authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Followup to r86170: fix reference leak in str.format

üst c275e154
...@@ -509,7 +509,6 @@ get_field_object(SubString *input, PyObject *args, PyObject *kwargs, ...@@ -509,7 +509,6 @@ get_field_object(SubString *input, PyObject *args, PyObject *kwargs,
goto error; goto error;
} }
Py_DECREF(key); Py_DECREF(key);
Py_INCREF(obj);
} }
else { else {
/* look up in args */ /* look up in args */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment