diff options
-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; } |