SF #1499797, Fix for memory leak in WindowsError_str
This commit is contained in:
parent
3eeb17346c
commit
7a071939d9
|
@ -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…
Reference in New Issue