diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-04 06:19:31 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-04 06:19:31 (GMT) |
commit | 7a071939d96702e13c377a5e7f87df7bf20391e5 (patch) | |
tree | 0eeb9e4cd75ea073df3b7e5fe30c17617f77641b /Objects/exceptions.c | |
parent | 3eeb17346c26bdb100e6c1c1b778b7b5f83acbba (diff) | |
download | cpython-7a071939d96702e13c377a5e7f87df7bf20391e5.zip cpython-7a071939d96702e13c377a5e7f87df7bf20391e5.tar.gz cpython-7a071939d96702e13c377a5e7f87df7bf20391e5.tar.bz2 |
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 3b79307..369365b 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); |