SIGN IN SIGN UP

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.
B
Bénédikt Tran committed
097846502b7f33cb327d512e2a396acf4f4de46e
Parent: 7e3b788
Committed by GitHub <noreply@github.com> on 3/3/2025, 8:20:33 AM