The branch master has been updated via defd3ed820e413d418e408c5a5ea92c889c83727 (commit) from 3c957bcd54d097167e53660fa100aa1ba85d63b5 (commit)
- Log ----------------------------------------------------------------- commit defd3ed820e413d418e408c5a5ea92c889c83727 Author: Pauli <paul.d...@oracle.com> Date: Sun Nov 24 18:15:15 2019 +1000 Property: fix memory leak. Coverity 1456008. Reviewed-by: Matthias St. Pierre <matthias.st.pie...@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/10509) ----------------------------------------------------------------------- Summary of changes: crypto/property/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/property/property.c b/crypto/property/property.c index 33e7469351..0e31b8fa81 100644 --- a/crypto/property/property.c +++ b/crypto/property/property.c @@ -546,9 +546,9 @@ int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, int nid, } ossl_method_free(&p->method); } - OPENSSL_free(p); err: res = 0; + OPENSSL_free(p); end: ossl_property_unlock(store); return res;