From a277ec4ad97e68ab4136955dfb9962bc387a3044 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 5 Nov 2010 12:23:55 +0000 Subject: Followup to r86170: fix reference leak in str.format --- Objects/stringlib/string_format.h | 1 - 1 file changed, 1 deletion(-) 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 */ -- cgit v0.12