diff options
author | Michael W. Hudson <mwh@python.net> | 2004-08-04 14:59:00 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2004-08-04 14:59:00 (GMT) |
commit | 5910d81c979b79a98f3d5ac8dea81e84ab721c37 (patch) | |
tree | c9f4e966ed0ff8bfe67903f271218e0303dadc4a /Modules | |
parent | 7d6cc5b30342db3718ef4003dffa0e433fc60151 (diff) | |
download | cpython-5910d81c979b79a98f3d5ac8dea81e84ab721c37.zip cpython-5910d81c979b79a98f3d5ac8dea81e84ab721c37.tar.gz cpython-5910d81c979b79a98f3d5ac8dea81e84ab721c37.tar.bz2 |
Add a missing decref -- PyErr_SetObject increfs the 'object'!
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 906a72a..9c100ab 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -169,6 +169,7 @@ PySSL_SetError(PySSLObject *obj, int ret) PyTuple_SET_ITEM(v, 0, n); PyTuple_SET_ITEM(v, 1, s); PyErr_SetObject(PySSLErrorObject, v); + Py_DECREF(v); return NULL; } |