fix ref counting

This commit is contained in:
Benjamin Peterson 2010-06-05 01:00:10 +00:00
parent 039c585805
commit 67783b1f71
1 changed files with 1 additions and 1 deletions

View File

@ -3448,7 +3448,7 @@ object_format(PyObject *self, PyObject *args)
goto done;
*/
}
return PyObject_Format(self_as_str, format_spec);
result = PyObject_Format(self_as_str, format_spec);
}
done: