summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/property/property.c2
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;