diff options
author | Pauli <paul.dale@oracle.com> | 2019-11-24 18:15:15 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-11-26 08:05:51 +1000 |
commit | defd3ed820e413d418e408c5a5ea92c889c83727 (patch) | |
tree | d36b31a19daf601e0b16b65621f7a5b29a859cb8 /crypto/property | |
parent | 3c957bcd54d097167e53660fa100aa1ba85d63b5 (diff) |
Property: fix memory leak.
Coverity 1456008.
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10509)
Diffstat (limited to 'crypto/property')
-rw-r--r-- | crypto/property/property.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |