diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-04 06:19:31 +0000 |
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-04 06:19:31 +0000 |
| commit | 5c8c29fb7cd775998ee170511cfb49d4de02f836 (patch) | |
| tree | 1d75dd9664179d43cc820c35464add20e1dbadf1 /Objects/exceptions.c | |
| parent | 950b6d82bddb7b1293a186e45685b73fc5c2df70 (diff) | |
| download | cpython-5c8c29fb7cd775998ee170511cfb49d4de02f836.tar.gz | |
SF #1499797, Fix for memory leak in WindowsError_str
Diffstat (limited to 'Objects/exceptions.c')
| -rw-r--r-- | Objects/exceptions.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 3b79307406..369365bf99 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -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); |
