[Python-checkins] r86191 - python/branches/py3k/Objects/stringlib/string_format.h
antoine.pitrou
python-checkins at python.org
Fri Nov 5 13:23:56 CET 2010
Author: antoine.pitrou
Date: Fri Nov 5 13:23:55 2010
New Revision: 86191
Log:
Followup to r86170: fix reference leak in str.format
Modified:
python/branches/py3k/Objects/stringlib/string_format.h
Modified: python/branches/py3k/Objects/stringlib/string_format.h
==============================================================================
--- python/branches/py3k/Objects/stringlib/string_format.h (original)
+++ python/branches/py3k/Objects/stringlib/string_format.h Fri Nov 5 13:23:55 2010
@@ -509,7 +509,6 @@
goto error;
}
Py_DECREF(key);
- Py_INCREF(obj);
}
else {
/* look up in args */
More information about the Python-checkins
mailing list