mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
SF #1499797, Fix for memory leak in WindowsError_str
This commit is contained in:
parent
3eeb17346c
commit
7a071939d9
1 changed files with 0 additions and 1 deletions
|
@ -851,7 +851,6 @@ WindowsError_str(PyWindowsErrorObject *self)
|
|||
PyTuple_SET_ITEM(tuple, 1, Py_None);
|
||||
}
|
||||
|
||||
Py_INCREF(repr);
|
||||
PyTuple_SET_ITEM(tuple, 2, repr);
|
||||
|
||||
rtnval = PyString_Format(fmt, tuple);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue