diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-03-03 08:20:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 08:20:33 (GMT) |
commit | 097846502b7f33cb327d512e2a396acf4f4de46e (patch) | |
tree | d4fb4dd460e36d16247689f5cc7380a535cd46c8 /Python/formatter_unicode.c | |
parent | 7e3b788e8f3dc986bcccb047ddc3f0a7a99bb08c (diff) | |
download | cpython-097846502b7f33cb327d512e2a396acf4f4de46e.zip cpython-097846502b7f33cb327d512e2a396acf4f4de46e.tar.gz cpython-097846502b7f33cb327d512e2a396acf4f4de46e.tar.bz2 |
gh-127667: fix memory leaks in `hashlib` (#127668)
- Correctly handle `NULL` values returned by `EVP_MD_CTX_md`.
- Correctly free resources in error branches.
- Consistently suppress `_setException()` return value when needed.
- Collapse `_setException() + return NULL` into a single statement.
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions