mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Add a missing decref -- PyErr_SetObject increfs the 'object'!
This commit is contained in:
parent
7d6cc5b303
commit
5910d81c97
@ -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…
Reference in New Issue
Block a user