commit | 5910d81c979b79a98f3d5ac8dea81e84ab721c37 | [log] [tgz] |
---|---|---|
author | Michael W. Hudson <mwh@python.net> | Wed Aug 04 14:59:00 2004 +0000 |
committer | Michael W. Hudson <mwh@python.net> | Wed Aug 04 14:59:00 2004 +0000 |
tree | c9f4e966ed0ff8bfe67903f271218e0303dadc4a | |
parent | 7d6cc5b30342db3718ef4003dffa0e433fc60151 [diff] |
Add a missing decref -- PyErr_SetObject increfs the 'object'!
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 @@ PyTuple_SET_ITEM(v, 0, n); PyTuple_SET_ITEM(v, 1, s); PyErr_SetObject(PySSLErrorObject, v); + Py_DECREF(v); return NULL; }