mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Add a missing decref -- PyErr_SetObject increfs the 'object'!
This commit is contained in:
parent
7d6cc5b303
commit
5910d81c97
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue