mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
Issue #19420: Fix reference leak in module initalization code of _hashopenssl.c
This commit is contained in:
parent
fa3ba4c3bc
commit
db816d6546
2 changed files with 4 additions and 1 deletions
|
|
@ -28,6 +28,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #19420: Fix reference leak in module initalization code of
|
||||
_hashopenssl.c
|
||||
|
||||
- Issue #19329: Optimized compiling charsets in regular expressions.
|
||||
|
||||
- Issue #19227: Try to fix deadlocks caused by re-seeding then OpenSSL
|
||||
|
|
|
|||
|
|
@ -717,9 +717,9 @@ _openssl_hash_name_mapper(const OBJ_NAME *openssl_obj_name, void *arg)
|
|||
state->error = 1;
|
||||
} else {
|
||||
if (PySet_Add(state->set, py_name) != 0) {
|
||||
Py_DECREF(py_name);
|
||||
state->error = 1;
|
||||
}
|
||||
Py_DECREF(py_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue