[Python-checkins] r81712 - python/trunk/Objects/abstract.c
benjamin.peterson
python-checkins at python.org
Sat Jun 5 04:07:01 CEST 2010
Author: benjamin.peterson
Date: Sat Jun 5 04:07:01 2010
New Revision: 81712
Log:
_PyObject_LookupSpecial returns a new reference
Modified:
python/trunk/Objects/abstract.c
Modified: python/trunk/Objects/abstract.c
==============================================================================
--- python/trunk/Objects/abstract.c (original)
+++ python/trunk/Objects/abstract.c Sat Jun 5 04:07:01 2010
@@ -836,6 +836,7 @@
}
/* And call it. */
result = PyObject_CallFunctionObjArgs(method, format_spec, NULL);
+ Py_DECREF(method);
}
if (result == NULL)
More information about the Python-checkins
mailing list