]>
git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/property/property.c: Free impl->method to avoid memory leak
After ossl_method_up_ref() succeeds, impl_free() should be called to free impl->method.
Fixes: 860ecfd ("property: check return values from the property locking
calls.")
Signed-off-by: JiashengJiang <jiasheng@purdue.edu>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27564)