Commit db816d65 authored by Christian Heimes's avatar Christian Heimes

Issue #19420: Fix reference leak in module initalization code of _hashopenssl.c

parent fa3ba4c3
...@@ -28,6 +28,9 @@ Core and Builtins ...@@ -28,6 +28,9 @@ Core and Builtins
Library Library
------- -------
- Issue #19420: Fix reference leak in module initalization code of
_hashopenssl.c
- Issue #19329: Optimized compiling charsets in regular expressions. - Issue #19329: Optimized compiling charsets in regular expressions.
- Issue #19227: Try to fix deadlocks caused by re-seeding then OpenSSL - 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) ...@@ -717,9 +717,9 @@ _openssl_hash_name_mapper(const OBJ_NAME *openssl_obj_name, void *arg)
state->error = 1; state->error = 1;
} else { } else {
if (PySet_Add(state->set, py_name) != 0) { if (PySet_Add(state->set, py_name) != 0) {
Py_DECREF(py_name);
state->error = 1; state->error = 1;
} }
Py_DECREF(py_name);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment