commit | a277ec4ad97e68ab4136955dfb9962bc387a3044 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Nov 05 12:23:55 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Nov 05 12:23:55 2010 +0000 |
tree | 8ed98b6c2402f7a4c830edb62db1f7be5c59f46a | |
parent | c275e15489c58c4bde33b746eda6612b9a9a90ca [diff] |
Followup to r86170: fix reference leak in str.format
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 @@ goto error; } Py_DECREF(key); - Py_INCREF(obj); } else { /* look up in args */