diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 12:23:55 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 12:23:55 (GMT) |
commit | a277ec4ad97e68ab4136955dfb9962bc387a3044 (patch) | |
tree | 8ed98b6c2402f7a4c830edb62db1f7be5c59f46a /Objects | |
parent | c275e15489c58c4bde33b746eda6612b9a9a90ca (diff) | |
download | cpython-a277ec4ad97e68ab4136955dfb9962bc387a3044.zip cpython-a277ec4ad97e68ab4136955dfb9962bc387a3044.tar.gz cpython-a277ec4ad97e68ab4136955dfb9962bc387a3044.tar.bz2 |
Followup to r86170: fix reference leak in str.format
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/stringlib/string_format.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/stringlib/string_format.h b/Objects/stringlib/string_format.h index 5205aa9..4053545 100644 --- a/Objects/stringlib/string_format.h +++ b/Objects/stringlib/string_format.h @@ -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 */ |